summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-10-06 17:17:34 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2008-10-06 17:17:34 -0700
commit41a724bb81b713ab86430c34ccbc9171cdd9d4d0 (patch)
tree58c1d9e0838527a63d949061db553c6ffb95811d
parent407feb42a2fa2e981a2287eabcb2185ad0949823 (diff)
downloadvyatta-cfg-system-41a724bb81b713ab86430c34ccbc9171cdd9d4d0.tar.gz
vyatta-cfg-system-41a724bb81b713ab86430c34ccbc9171cdd9d4d0.zip
don't poll resolv files for nameserver changes - it messes up statistics
we already make sure that nameservers are re-reread when any change from any configured source of nameservers happen
-rw-r--r--scripts/dns-forwarding/vyatta-dns-forwarding.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
index 38f5ee67..6cdcfaa0 100644
--- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl
+++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
@@ -50,6 +50,7 @@ sub dnsforwarding_get_constants {
chomp $date;
$output = "#\n# autogenerated by vyatta-dns-forwarding.pl on $date\n#\n";
$output .= "log-facility=/var/log/dnsmasq.log\n";
+ $output .= "no-poll\n";
system("rm -f /var/log/dnsmasq.log; touch /var/log/dnsmasq.log");
return $output;
}