From 33239199bea51353a217254dd081ed04b1cf3e7a Mon Sep 17 00:00:00 2001 From: rtsp Date: Sun, 10 Apr 2016 01:11:26 +0700 Subject: 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 --- scripts/dns-forwarding/vyatta-dns-forwarding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3