summaryrefslogtreecommitdiff
path: root/interface-definitions/dns-forwarding.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-06 07:57:34 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-06 07:57:34 +0200
commit0ca6d38c846a2a04c43e79e6cf1ba65831979e2f (patch)
tree6c70df6e9c75cd60b59541369e7cf043f0880d17 /interface-definitions/dns-forwarding.xml.in
parent989d1f6a9603a8982647485162dfaa7c65e05f17 (diff)
downloadvyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.tar.gz
vyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.zip
xml: include: add common helper file for listen-address
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 07e63d54a..c519676f3 100644
--- a/interface-definitions/dns-forwarding.xml.in
+++ b/interface-definitions/dns-forwarding.xml.in
@@ -128,24 +128,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="listen-address">
- <properties>
- <help>Addresses to listen for DNS queries [REQUIRED]</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/listen-address.xml.i>
<leafNode name="negative-ttl">
<properties>
<help>Maximum amount of time negative entries are cached (default: 3600)</help>