diff options
author | rtsp <rtsp@users.noreply.github.com> | 2016-04-10 01:11:26 +0700 |
---|---|---|
committer | rtsp <rtsp@users.noreply.github.com> | 2016-04-10 01:11:26 +0700 |
commit | 33239199bea51353a217254dd081ed04b1cf3e7a (patch) | |
tree | 00dbcb6038be7380cf731afe2d1f34f11dcdb39b /scripts/dns-forwarding | |
parent | b4be922411d61216aca52202ec3ee432551a4f89 (diff) | |
download | vyatta-cfg-system-33239199bea51353a217254dd081ed04b1cf3e7a.tar.gz vyatta-cfg-system-33239199bea51353a217254dd081ed04b1cf3e7a.zip |
Fix resolv-file config bug
When using `service dns forwarding system` to make dnsmasq use system nameservers to resolve dns instead of specifying nameservers in /etc/dnsmasq.conf. `resolv-file` directive in /etc/dnsmasq.conf should point to /etc/resolv.conf, not /etc/dnsmasq.conf
Diffstat (limited to 'scripts/dns-forwarding')
-rwxr-xr-x | scripts/dns-forwarding/vyatta-dns-forwarding.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl index 46e038b5..b1d912e5 100755 --- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl +++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl @@ -155,7 +155,7 @@ sub dnsforwarding_get_values { } if ($use_dnsmasq_conf == 1) { - $output .= "resolv-file=/etc/dnsmasq.conf\n"; + $output .= "resolv-file=/etc/resolv.conf\n"; } return $output; |