diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-06 17:17:34 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-06 17:17:34 -0700 |
commit | 41a724bb81b713ab86430c34ccbc9171cdd9d4d0 (patch) | |
tree | 58c1d9e0838527a63d949061db553c6ffb95811d /scripts/dns-forwarding | |
parent | 407feb42a2fa2e981a2287eabcb2185ad0949823 (diff) | |
download | vyatta-cfg-quagga-41a724bb81b713ab86430c34ccbc9171cdd9d4d0.tar.gz vyatta-cfg-quagga-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
Diffstat (limited to 'scripts/dns-forwarding')
-rw-r--r-- | scripts/dns-forwarding/vyatta-dns-forwarding.pl | 1 |
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; } |