diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-08-20 12:03:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 12:03:11 +0200 |
commit | 8ec2d46a618bd19f9dfa7ccb08f33dc869e3b5f0 (patch) | |
tree | f0a43c79702e9ddf2a3c6e7959f4a5cb60378bac /interface-definitions/dns-forwarding.xml | |
parent | 246d2dbad9df96ac895e88c9103eefa9f4cf04d7 (diff) | |
parent | dbdd50e96f5af8f59d884f03df1cdeed9bac39d1 (diff) | |
download | vyos-1x-8ec2d46a618bd19f9dfa7ccb08f33dc869e3b5f0.tar.gz vyos-1x-8ec2d46a618bd19f9dfa7ccb08f33dc869e3b5f0.zip |
Merge pull request #110 from c-po/powerdns
Powerdns
Diffstat (limited to 'interface-definitions/dns-forwarding.xml')
-rw-r--r-- | interface-definitions/dns-forwarding.xml | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/interface-definitions/dns-forwarding.xml b/interface-definitions/dns-forwarding.xml index 56820608c..a88c174e3 100644 --- a/interface-definitions/dns-forwarding.xml +++ b/interface-definitions/dns-forwarding.xml @@ -97,6 +97,23 @@ <valueless/> </properties> </leafNode> + <leafNode name="allow-from"> + <properties> + <help>Networks allowed to query this server</help> + <valueHelp> + <format>ipv4net</format> + <description>IP address and prefix length</description> + </valueHelp> + <valueHelp> + <format>ipv6net</format> + <description>IPv6 address and prefix length</description> + </valueHelp> + <multi/> + <constraint> + <validator name="ip-prefix"/> + </constraint> + </properties> + </leafNode> <leafNode name="listen-address"> <properties> <help>Addresses to listen for DNS queries [REQUIRED]</help> @@ -115,15 +132,6 @@ </constraint> </properties> </leafNode> - <leafNode name="listen-on"> - <properties> - <help>Interface to listen for DNS queries [DEPRECATED]</help> - <completionHelp> - <script>${vyos_completion_dir}/list_interfaces.py</script> - </completionHelp> - <multi/> - </properties> - </leafNode> <leafNode name="negative-ttl"> <properties> <help>Maximum amount of time negative entries are cached</help> |