diff options
author | fvlaicu <19238716+fvlaicu@users.noreply.github.com> | 2024-01-06 14:02:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 13:02:11 +0100 |
commit | 199ceb1f0a820c838dea6862371a3121b3d9f3a9 (patch) | |
tree | 14ba032882bbafd3eaf3c07a3c36a64604e408bb /interface-definitions/service_dns_forwarding.xml.in | |
parent | fb4b97b1824b5e6aab4cf7c810ea69897ea6300f (diff) | |
download | vyos-1x-199ceb1f0a820c838dea6862371a3121b3d9f3a9.tar.gz vyos-1x-199ceb1f0a820c838dea6862371a3121b3d9f3a9.zip |
dns: T5900: add dont-throttle-netmasks and serve-stale-extensions powerdns features
Diffstat (limited to 'interface-definitions/service_dns_forwarding.xml.in')
-rw-r--r-- | interface-definitions/service_dns_forwarding.xml.in | 41 |
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> |