summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-03-17 23:56:20 +0200
committerGitHub <noreply@github.com>2017-03-17 23:56:20 +0200
commitabf4c8e221c5b6e9c1c849a151be275b1ee92d57 (patch)
tree0d8874eb7d2987314da327ca62925d9640208063 /scripts
parent0aa4d99cfb96b8ca61c0524aefa3a77761a13e86 (diff)
downloadvyatta-cfg-system-abf4c8e221c5b6e9c1c849a151be275b1ee92d57.tar.gz
vyatta-cfg-system-abf4c8e221c5b6e9c1c849a151be275b1ee92d57.zip
Fix vyatta-dns-forwarding.pl after merged pull request #53
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dns-forwarding/vyatta-dns-forwarding.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
index b6b829b3..fa9fae68 100755
--- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl
+++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
@@ -62,7 +62,7 @@ sub dnsforwarding_get_values {
my $output = '';
my $config = new Vyatta::Config;
my $use_dnsmasq_conf = 0;
- my (@listen_interfaces, $cache_size, @use_nameservers, $use_system_nameservers, @use_dhcp_nameservers, @domains, $server, $ignore_hosts_file);
+ my (@listen_interfaces, $cache_size, @use_nameservers, $use_system_nameservers, @use_dhcp_nameservers, @domains, $server, $ignore_hosts_file, $query_all_servers);
$config->setLevel("service dns forwarding");
@@ -74,6 +74,7 @@ sub dnsforwarding_get_values {
@use_dhcp_nameservers = $config->returnOrigValues("dhcp");
@domains = $config->listOrigNodes("domain");
$ignore_hosts_file = $config->returnOrigValue("ignore-hosts-file");
+ $query_all_servers = $config->returnOrigValue("query-all-servers");
} else {
@listen_interfaces = $config->returnValues("listen-on");
@@ -83,6 +84,7 @@ sub dnsforwarding_get_values {
@use_dhcp_nameservers = $config->returnValues("dhcp");
@domains = $config->listNodes("domain");
$ignore_hosts_file = $config->exists("ignore-hosts-file");
+ $query_all_servers = $config->exists("query-all-servers");
}
if (@listen_interfaces != 0) {