Joined: 18 Mar 2014 Posts: 6228 Location: Netherlands
Posted: Wed Aug 05, 2020 9:09 Post subject:
Hacking /tmp/resolv.conf is not very useful, it is automatically configured.
It should contain the routers own IP address.
DNS servers to use are in resolv.dnsmasq
From the manual:
Making the nameserver machine use dnsmasq.
In the simple configuration described above, processes local to the machine will not use dnsmasq, since they get their information about which nameservers to use from /etc/resolv.conf, which is set to the upstream nameservers. To fix this, simply replace the nameserver in /etc/resolv.conf with the local address 127.0.0.1 and give the address(es) of the upstream nameserver(s) to dnsmasq directly. You can do this using either the server option, or by putting them into another file, and telling dnsmasq about its location with the resolv-file option.