diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-05-21 11:47:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-05-21 11:47:17 +0200 |
commit | 682f8ffdd7cd71b77277719b114d4ca813175da4 (patch) | |
tree | 2cc8c1ddc58d8fa521efe768b3100aa1489b6a96 /interface-definitions | |
parent | 8c459924e2e9532ef0ec869615162fc6cd0e3a5f (diff) | |
download | vyos-1x-682f8ffdd7cd71b77277719b114d4ca813175da4.tar.gz vyos-1x-682f8ffdd7cd71b77277719b114d4ca813175da4.zip |
T588: Configurable Negative TTL caching in forwarder
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/dns-forwarding.xml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/interface-definitions/dns-forwarding.xml b/interface-definitions/dns-forwarding.xml index 273d7777b..5b69ecc81 100644 --- a/interface-definitions/dns-forwarding.xml +++ b/interface-definitions/dns-forwarding.xml @@ -1,7 +1,5 @@ <?xml version="1.0"?> - <!-- DNS forwarder configuration --> - <interfaceDefinition> <node name="service"> <children> @@ -92,6 +90,18 @@ <multi/> </properties> </leafNode> + <leafNode name="negative-ttl"> + <properties> + <help>Maximum amount of time negative entries are cached</help> + <valueHelp> + <format>0-7200</format> + <description>Seconds to cache NXDOMAIN entries</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-7200"/> + </constraint> + </properties> + </leafNode> <leafNode name="name-server"> <properties> <help>Domain Name Server (DNS)</help> |