summaryrefslogtreecommitdiff
path: root/interface-definitions/service_dns_forwarding.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-06 13:06:11 +0100
committerGitHub <noreply@github.com>2024-01-06 13:06:11 +0100
commit0a2430001e2e4e9a75d802428d9a7f9b56fafd41 (patch)
tree9907c9c71ab63746955a49c3ff1f70e5dedc044d /interface-definitions/service_dns_forwarding.xml.in
parent09dea9fc44dc19181ce24cec42b49f19a4605a3e (diff)
parent132087a4b266deb197f86de3fc1131be7a07504c (diff)
downloadvyos-1x-0a2430001e2e4e9a75d802428d9a7f9b56fafd41.tar.gz
vyos-1x-0a2430001e2e4e9a75d802428d9a7f9b56fafd41.zip
Merge pull request #2759 from vyos/mergify/bp/sagitta/pr-2757
T5900 dns forwarding: reliability improvements (backport #2757)
Diffstat (limited to 'interface-definitions/service_dns_forwarding.xml.in')
-rw-r--r--interface-definitions/service_dns_forwarding.xml.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/interface-definitions/service_dns_forwarding.xml.in b/interface-definitions/service_dns_forwarding.xml.in
index 7dce9b548..0f8863438 100644
--- a/interface-definitions/service_dns_forwarding.xml.in
+++ b/interface-definitions/service_dns_forwarding.xml.in
@@ -670,6 +670,19 @@
</properties>
<defaultValue>3600</defaultValue>
</leafNode>
+ <leafNode name="serve-stale-extension">
+ <properties>
+ <help>Number of times the expired TTL of a record is extended by 30 seconds when serving stale</help>
+ <valueHelp>
+ <format>u32:0-65535</format>
+ <description>Number of times to extend the TTL</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-65535"/>
+ </constraint>
+ </properties>
+ <defaultValue>0</defaultValue>
+ </leafNode>
<leafNode name="timeout">
<properties>
<help>Number of milliseconds to wait for a remote authoritative server to respond</help>
@@ -694,6 +707,34 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="exclude-throttle-address">
+ <properties>
+ <help>IP address or subnet</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address to match</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 prefix to match</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 address</description>
+ </valueHelp>
+ <multi/>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv4-prefix"/>
+ <validator name="ipv6-address"/>
+ <validator name="ipv6-prefix"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
</children>