From 41a724bb81b713ab86430c34ccbc9171cdd9d4d0 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Mon, 6 Oct 2008 17:17:34 -0700 Subject: 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 --- scripts/dns-forwarding/vyatta-dns-forwarding.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/dns-forwarding') 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; } -- cgit v1.2.3