diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-03-04 10:07:40 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 10:07:40 +0700 |
commit | d71f799228f2dbc790b371b6df56f71028b1cccf (patch) | |
tree | a49d8783c6ac98b300e0141131127bad571aea21 | |
parent | d4b1e8ae5fd681f809f7ae92947269767315447a (diff) | |
parent | 4a03838ea877a3a867b283ba85956795e769d563 (diff) | |
download | vyatta-cfg-system-d71f799228f2dbc790b371b6df56f71028b1cccf.tar.gz vyatta-cfg-system-d71f799228f2dbc790b371b6df56f71028b1cccf.zip |
T285: Merge pull request #53 from brennentsmith/feature/query-all-dns-servers
T285: Add flag for DNSmasq to query all dns servers.
-rwxr-xr-x | scripts/dns-forwarding/vyatta-dns-forwarding.pl | 4 | ||||
-rw-r--r-- | templates/service/dns/forwarding/query-all-servers/node.def | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl index 46e038b5..807afa28 100755 --- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl +++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl @@ -95,6 +95,10 @@ sub dnsforwarding_get_values { $output .= "cache-size=$cache_size\n"; } + if (defined $query_all_servers) { + $output .= "all-servers\n"; + } + if (defined $ignore_hosts_file) { $output .= "no-hosts\n"; } diff --git a/templates/service/dns/forwarding/query-all-servers/node.def b/templates/service/dns/forwarding/query-all-servers/node.def new file mode 100644 index 00000000..90e8e7ec --- /dev/null +++ b/templates/service/dns/forwarding/query-all-servers/node.def @@ -0,0 +1 @@ +help: Query all DNS servers, respond and cache fastest result |