summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-20 14:10:55 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-20 14:10:55 +0200
commit6c8cb81354b0c8baff4ed15a887c8a7fee212c9c (patch)
treea8cff1193e42fc6647a854d597e97e659d79df0c /interface-definitions
parentc7a5a84eaaa072d681f98b228c44043d0345f6c0 (diff)
downloadvyos-1x-6c8cb81354b0c8baff4ed15a887c8a7fee212c9c.tar.gz
vyos-1x-6c8cb81354b0c8baff4ed15a887c8a7fee212c9c.zip
T560: enable non-local bind in the defaults, add 'listen-address' option, and add a deprecation warning for the listen-on option.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dns-forwarding.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/interface-definitions/dns-forwarding.xml b/interface-definitions/dns-forwarding.xml
index ffc007a30..273d7777b 100644
--- a/interface-definitions/dns-forwarding.xml
+++ b/interface-definitions/dns-forwarding.xml
@@ -65,9 +65,27 @@
<valueless/>
</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>
<leafNode name="listen-on">
<properties>
- <help>Interface to listen for DNS queries [REQUIRED]</help>
+ <help>Interface to listen for DNS queries [DEPRECATED]</help>
<completionHelp>
<script>${vyatta_sbindir}/vyatta-interfaces.pl --show all</script>
</completionHelp>