summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorfvlaicu <19238716+fvlaicu@users.noreply.github.com>2024-01-06 14:02:11 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-06 12:02:29 +0000
commit132087a4b266deb197f86de3fc1131be7a07504c (patch)
tree9907c9c71ab63746955a49c3ff1f70e5dedc044d /interface-definitions
parent09dea9fc44dc19181ce24cec42b49f19a4605a3e (diff)
downloadvyos-1x-132087a4b266deb197f86de3fc1131be7a07504c.tar.gz
vyos-1x-132087a4b266deb197f86de3fc1131be7a07504c.zip
dns: T5900: add dont-throttle-netmasks and serve-stale-extensions powerdns features
(cherry picked from commit 199ceb1f0a820c838dea6862371a3121b3d9f3a9)
Diffstat (limited to 'interface-definitions')
-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>