diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-13 09:32:14 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-13 09:34:26 +0200 |
commit | 0386e8f8f6f428425ed7fb3bfbe122f7495c85fb (patch) | |
tree | 64e8fb062fd81d69cd4a82b8a049980bb6647198 /docs/configuration/service | |
parent | 63451d725a2b4bebbb7f5e04b2262527ab9a2fc8 (diff) | |
download | vyos-documentation-0386e8f8f6f428425ed7fb3bfbe122f7495c85fb.tar.gz vyos-documentation-0386e8f8f6f428425ed7fb3bfbe122f7495c85fb.zip |
dns: improve CLI commands by adding missing parameters
(cherry picked from commit 90172aca00d3fbddbb474a2248a24e48fddeb981)
Diffstat (limited to 'docs/configuration/service')
-rw-r--r-- | docs/configuration/service/dns.rst | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/configuration/service/dns.rst b/docs/configuration/service/dns.rst index d9ebb01b..d0fe32b3 100644 --- a/docs/configuration/service/dns.rst +++ b/docs/configuration/service/dns.rst @@ -94,16 +94,19 @@ avoid being tracked by the provider of your upstream DNS server. Maximum number of DNS cache entries. 1 million per CPU core will generally suffice for most installations. -.. cfgcmd:: set service dns forwarding negative-ttl + This defaults to 10000. + +.. cfgcmd:: set service dns forwarding negative-ttl <0-7200> A query for which there is authoritatively no answer is cached to quickly deny a record's existence later on, without putting a heavy load on the remote server. In practice, caches can become saturated with hundreds of - thousands of hosts which are tried only once. This setting, which defaults - to 3600 seconds, puts a maximum on the amount of time negative entries are - cached. + thousands of hosts which are tried only once. + + This setting, which defaults to 3600 seconds, puts a maximum on the amount + of time negative entries are cached. -.. cfgcmd:: set service dns forwarding listen-address +.. cfgcmd:: set service dns forwarding listen-address <address> The local IPv4 or IPv6 addresses to bind the DNS forwarder to. The forwarder will listen on this address for incoming connections. |