summaryrefslogtreecommitdiff
path: root/docs/services/dns-forwarding.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-15 15:43:05 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-15 15:43:05 +0100
commit94d4aaada6bd9345b968da336f88a6f8f0e15874 (patch)
tree28b9523262cad72f52627ab6465e6cfd11aae00b /docs/services/dns-forwarding.rst
parent4df97093ad19344674294421ebf1a5e4d8482e5b (diff)
downloadvyos-documentation-94d4aaada6bd9345b968da336f88a6f8f0e15874.tar.gz
vyos-documentation-94d4aaada6bd9345b968da336f88a6f8f0e15874.zip
dns-forwarding: add ignore-hosts-file option
Diffstat (limited to 'docs/services/dns-forwarding.rst')
-rw-r--r--docs/services/dns-forwarding.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/services/dns-forwarding.rst b/docs/services/dns-forwarding.rst
index 21115e9f..e98d7f6b 100644
--- a/docs/services/dns-forwarding.rst
+++ b/docs/services/dns-forwarding.rst
@@ -77,6 +77,15 @@ are:
.. note:: the CD-bit is honored correctly for process and validate. For
log-fail, failures will be logged too.
+.. cfgcmd:: set service dns forwarding ignore-hosts-file
+
+Do not use local ``/etc/hosts`` file in name resolution. VyOS DHCP server will
+use this file to add resolvers to assigned addresses.
+
+.. cfgcmd:: set service dns forwarding max-cache-entries
+
+Maximum number of DNS cache entries. 1 million per CPU core will generally
+suffice for most installations.
Example
=======