diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-01-21 17:15:51 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-01-21 17:17:12 +0100 |
commit | a974b61d94af35df0cc7e9a3dca3cb758d85d91e (patch) | |
tree | a9f1cb793cc65429acb4c0eae4de3a070b0681a4 /scripts | |
parent | d663e63a2d60fa6c79328cd08a6fce76f3861372 (diff) | |
download | vyatta-cfg-system-a974b61d94af35df0cc7e9a3dca3cb758d85d91e.tar.gz vyatta-cfg-system-a974b61d94af35df0cc7e9a3dca3cb758d85d91e.zip |
T523: Only bind dnsmasq to configured interfaces
Diffstat (limited to 'scripts')
-rwxr-xr-x | 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 bb091e9d..00a64b3e 100755 --- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl +++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl @@ -50,6 +50,7 @@ sub dnsforwarding_get_constants { $output .= "log-facility=/var/log/dnsmasq.log\n"; $output .= "no-poll\n"; $output .= "edns-packet-max=4096\n"; + $output .= "bind-interfaces\n"; system("rm -f /var/log/dnsmasq.log; touch /var/log/dnsmasq.log"); return $output; } |