summaryrefslogtreecommitdiff
path: root/scripts/dns-forwarding
diff options
context:
space:
mode:
authorrtsp <rtsp@users.noreply.github.com>2016-04-10 01:11:26 +0700
committerrtsp <rtsp@users.noreply.github.com>2016-04-10 01:11:26 +0700
commit33239199bea51353a217254dd081ed04b1cf3e7a (patch)
tree00dbcb6038be7380cf731afe2d1f34f11dcdb39b /scripts/dns-forwarding
parentb4be922411d61216aca52202ec3ee432551a4f89 (diff)
downloadvyatta-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-xscripts/dns-forwarding/vyatta-dns-forwarding.pl2
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;