summaryrefslogtreecommitdiff
path: root/docs/services
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-15 15:45:48 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-15 15:45:48 +0100
commit1d9198ebec35ca96e34d6bbdbc79e4537ca702e8 (patch)
tree01e34fd5d0e46281fa1309296ecabc6cdbe9c568 /docs/services
parent2fedcc936fcdd666fcc87d94a9633264ce27786d (diff)
downloadvyos-documentation-1d9198ebec35ca96e34d6bbdbc79e4537ca702e8.tar.gz
vyos-documentation-1d9198ebec35ca96e34d6bbdbc79e4537ca702e8.zip
dns-forwarding: add op-mode command to clean cache
Diffstat (limited to 'docs/services')
-rw-r--r--docs/services/dns-forwarding.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/services/dns-forwarding.rst b/docs/services/dns-forwarding.rst
index b79b631c..f4615766 100644
--- a/docs/services/dns-forwarding.rst
+++ b/docs/services/dns-forwarding.rst
@@ -4,6 +4,9 @@
DNS Forwarding
##############
+Configuration
+=============
+
VyOS provides DNS infrastructure for small networks. It is designed to be
lightweight and have a small footprint, suitable for resource constrained
routers and firewalls, for this we utilize PowerDNS recursor.
@@ -128,3 +131,10 @@ use of DNS split-horizon for example.com.
set service dns forwarding allow-from 192.168.1.0/24
set service dns forwarding allow-from 2001:db8::/64
+Operation
+=========
+
+.. opcmd:: reset dns forwarding <all | domain>
+
+Reset local DNS forwarding cache database. You can reset the cache for all
+entries or only for entries to a specific domain.