[LEDE-DEV] [PATCH] dnsmasq: manage resolv.conf iff when listening on 127.0.0.1#53
e9hack
e9hack at gmail.com
Mon Jun 12 09:09:28 PDT 2017
Hi,
IMHO, usage of the resolve file is completely wrong. If option 'resolvfile' is not given for a configuration, dnsmasq
must run without a parameter resolv-file='..' and uses /etc/resolv.conf which is a symbolic link to /tmp/resolv.conf. In
this case, the init script writes to /tmp/resolv.conf. If option 'resolvfile' is given, dnsmasq must run with a
parameter resolv-file='..'. The init script writes to the given resolve file. This is important, if two instances of
dnsmasq are running with different configurations and which cannot share any data, e.g. 1th dnsmasq for the normal lan,
2th dnsmasq for a tor proxy.
Regards,
Hartmut
More information about the Lede-dev
mailing list