[Solved] Dnsmasq resolv.conf inconsitent

Yes it is. Dnsmasq reads its upstream servers from /tmp/resolv.conf.auto while all other local processes are supposed to query dnsmasq for names, hence the nameserver in /etc/resolv.conf.

If dnsmasq would use /etc/resolv.conf it'd query itself and not be able to use internet servers, if all local services would use /tmp/resolv.conf.auto, they'd bypass dnsmasq and thus lose DNS caching and access to locally configured and DHCP assigned hostnames.

1 Like