summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-01-21 17:15:51 +0100
committerChristian Poessinger <christian@poessinger.com>2018-01-21 17:17:12 +0100
commita974b61d94af35df0cc7e9a3dca3cb758d85d91e (patch)
treea9f1cb793cc65429acb4c0eae4de3a070b0681a4 /scripts
parentd663e63a2d60fa6c79328cd08a6fce76f3861372 (diff)
downloadvyatta-cfg-system-a974b61d94af35df0cc7e9a3dca3cb758d85d91e.tar.gz
vyatta-cfg-system-a974b61d94af35df0cc7e9a3dca3cb758d85d91e.zip
T523: Only bind dnsmasq to configured interfaces
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/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 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;
}