diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-07 18:10:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 18:10:31 +0200 |
commit | 97b96aec7b94f9992920fc1fdbbe6ec3b5ffa1bb (patch) | |
tree | c262977bf685718945c9b9222af6f0a5b28f6d93 /interface-definitions | |
parent | a86c4347c214d7f74a011d1500c4cfa1fb3d854c (diff) | |
parent | e9cac63933ae9ddbb13a64406cff77640ab901dc (diff) | |
download | vyos-1x-97b96aec7b94f9992920fc1fdbbe6ec3b5ffa1bb.tar.gz vyos-1x-97b96aec7b94f9992920fc1fdbbe6ec3b5ffa1bb.zip |
Merge pull request #563 from lucasec/dns-source-address
pdns_recursor: T2964: Expose query-local-address to dns config.
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/dns-forwarding.xml.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/dns-forwarding.xml.in b/interface-definitions/dns-forwarding.xml.in index c519676f3..ad6eb2463 100644 --- a/interface-definitions/dns-forwarding.xml.in +++ b/interface-definitions/dns-forwarding.xml.in @@ -160,6 +160,27 @@ </constraint> </properties> </leafNode> + <leafNode name="source-address"> + <properties> + <help>Local addresses from which to send DNS queries. + If unspecified, the querier will use any available address on + the outbound interface.</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address from which to send traffic</description> + </valueHelp> + <valueHelp> + <format>ipv6</format> + <description>IPv6 address from which to send traffic</description> + </valueHelp> + <multi/> + <constraint> + <validator name="ipv4-address"/> + <validator name="ipv6-address"/> + </constraint> + </properties> + <defaultValue>0.0.0.0 ::</defaultValue> + </leafNode> <leafNode name="system"> <properties> <help>Use system name servers</help> |