[Dnsmasq-discuss] trouble with host resolution

Buck Horn buckhorn at weibsvolk.org
Fri Nov 22 09:55:39 UTC 2024


Hello Bernd,

On 20.11.24 23:08, Bernd Prager wrote:
> Could somebody please tell me what I am missing?
> My '/etc/resolve.conf' is just """
> # Home
> nameserver 192.168.1.2
> # Cloudflare
> nameserver 1.1.1.1
> # Google
> nameserver 8.8.8.8

You may want to consider removing the last two entries.

You are providing three nameservers.

Only one of them is capable of resolving local names, the others are
public DNS servers.

DNS requests may go to one of the other two DNS servers at times, e.g.
if your 192.168.1.2's upstreams would take longer to provide an answer
or would be unresponsive at times, prompting a switch to the next
nameserver from resolv.conf.

This may contribute to your observation, and should be verifiable by
consulting dnsmasq's logs.

Also, using DNS tools like dig or nslookup would let you know the actual
DNS server used for that specific request.


Kind regards,
     Buck




More information about the Dnsmasq-discuss mailing list