summaryrefslogtreecommitdiff
path: root/interface-definitions/dns-forwarding.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-29 10:33:30 +0200
committerGitHub <noreply@github.com>2023-03-29 10:33:30 +0200
commitc675fbf336365f70a7f783590daf70efca0f4941 (patch)
tree71acf469350c926780b1377d0dcc21568a290abd /interface-definitions/dns-forwarding.xml.in
parent454a49dfc1e2c08f72e9f9ae9a4a90818be76ae3 (diff)
parent2bb5c5d0fd9ed07649b81a61e9c1a78a9f222405 (diff)
downloadvyos-1x-c675fbf336365f70a7f783590daf70efca0f4941.tar.gz
vyos-1x-c675fbf336365f70a7f783590daf70efca0f4941.zip
Merge pull request #1915 from indrajitr/pdns-port-round2
dns: T5115: Support custom port for name servers for forwarding zones
Diffstat (limited to 'interface-definitions/dns-forwarding.xml.in')
-rw-r--r--interface-definitions/dns-forwarding.xml.in19
1 files changed, 1 insertions, 18 deletions
diff --git a/interface-definitions/dns-forwarding.xml.in b/interface-definitions/dns-forwarding.xml.in
index b23eaa351..14b38b24d 100644
--- a/interface-definitions/dns-forwarding.xml.in
+++ b/interface-definitions/dns-forwarding.xml.in
@@ -85,24 +85,7 @@
<help>Domain to forward to a custom DNS server</help>
</properties>
<children>
- <leafNode name="server">
- <properties>
- <help>Domain Name Server (DNS) to forward queries to</help>
- <valueHelp>
- <format>ipv4</format>
- <description>Domain Name Server (DNS) IPv4 address</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6</format>
- <description>Domain Name Server (DNS) IPv6 address</description>
- </valueHelp>
- <multi/>
- <constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/name-server-ipv4-ipv6-port.xml.i>
<leafNode name="addnta">
<properties>
<help>Add NTA (negative trust anchor) for this domain (must be set if the domain does not support DNSSEC)</help>