summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/dns-forwarding/vyatta-dns-forwarding.pl4
-rw-r--r--templates/service/dns/forwarding/query-all-servers/node.def1
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