Skip to content

Commit

Permalink
Add flag for DNSmasq to query all dns servers.
Browse files Browse the repository at this point in the history
This feature, when used properly, can massively increase DNS
performance. See:
http://ma.ttwagner.com/make-dns-fly-with-dnsmasq-all-servers/
  • Loading branch information
brennentsmith committed Nov 21, 2016
1 parent 3600f0b commit 4a03838
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/dns-forwarding/vyatta-dns-forwarding.pl
Expand Up @@ -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";
}
Expand Down
@@ -0,0 +1 @@
help: Query all DNS servers, respond and cache fastest result

0 comments on commit 4a03838

Please sign in to comment.