summaryrefslogtreecommitdiff
path: root/scripts/dns-forwarding/vyatta-dns-forwarding.pl
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-03-04 10:07:40 +0700
committerGitHub <noreply@github.com>2017-03-04 10:07:40 +0700
commitd71f799228f2dbc790b371b6df56f71028b1cccf (patch)
treea49d8783c6ac98b300e0141131127bad571aea21 /scripts/dns-forwarding/vyatta-dns-forwarding.pl
parentd4b1e8ae5fd681f809f7ae92947269767315447a (diff)
parent4a03838ea877a3a867b283ba85956795e769d563 (diff)
downloadvyatta-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.
Diffstat (limited to 'scripts/dns-forwarding/vyatta-dns-forwarding.pl')
-rwxr-xr-xscripts/dns-forwarding/vyatta-dns-forwarding.pl4
1 files changed, 4 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";
}