Re: [Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-29 Thread Uwe Schindler via Dnsmasq-discuss
Hi Chris However this brings me back to where my original question came from, since there is no 'nameserver' entry pointing at localhost will dnsmasq cache? Or do I have to manually add a 'nameserver 127.0.0.1' somewhere? Dnsmasq will cache for requests coming from localhost (like local

Re: [Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-29 Thread Chris Green
On Sun, May 29, 2022 at 05:29:41PM +0200, Uwe Schindler via Dnsmasq-discuss wrote: [snip - useful explanation, thank you] Ah, now I see how it's working. I have a file in /etc/dnsmasq.d which contains:- resolv-file=/run/NetworkManager/no-stub-resolv.conf ... and

Re: [Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-29 Thread Uwe Schindler via Dnsmasq-discuss
Hi, /etc/resolv.conf may have this header, because at some point resolvconf was installed on your system. If resolvconf is (or was) installed, the main /etc/resolv.conf file is a symlink to some autogenerated file (/run/resolvconf/resolv.conf). This autogenerated file is created because

[Dnsmasq-discuss] Where does dnsmasq get upstream DNS servers by default?

2022-05-29 Thread Chris Green
With the default /etc/default/dnsmasq file on Ubuntu it says:- # If the resolvconf package is installed, dnsmasq will use its output # rather than the contents of /etc/resolv.conf to find upstream # nameservers. Uncommenting this line inhibits this behaviour. # Note that including