dnsmasq: manage resolv.conf if when listening on 127.0.0.1#53
authorPaul Oranje <por@xs4all.nl>
Fri, 9 Jun 2017 09:30:23 +0000 (11:30 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 12 Jun 2017 09:08:21 +0000 (11:08 +0200)
commita53f8ba6771de64c9c82a2e6867791226f3003cb
treefaabb47f7b4126ee9a2e3531972279a436e99793
parent3ff31586eb0a165fb42a102101ac12c66d55652e
dnsmasq: manage resolv.conf if when listening on 127.0.0.1#53

With this patch the dnsmasq init script manages resolv.conf if and only if
when dnsmasq will listen on 127.0.0.1#53 (is main resolver instance).
Also, resolvfile is now set irrespective of the value of noresolv.

Fixes (partially) FS#785

Signed-off-by: Paul Oranje <por@xs4all.nl>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init