[Dnsmasq-discuss] dnsmasq misreads resolv.conf with multiple nameservers

Johannes Stezenbach js at sig21.net
Wed Nov 3 22:45:15 UTC 2021


Hi,

I've tried current git version v2.87test4-2-g9560658c5ba2.

Usually /run/dnsmasq/resolv.conf has only one entry for my
home Wifi router. When I enable a VPN connection two more
entries are added, but dnsmasq doesn't read it correctly.

Real:
nameserver 10.x.xx.60
nameserver 10.x.xx.75
nameserver 192.168.178.1

dnsmasq log:
Nov  3 23:19:56 dnsmasq[31323]: reading /run/dnsmasq/resolv.conf
Nov  3 23:19:56 dnsmasq[31323]: using nameserver 192.168.178.1#53
Nov  3 23:19:56 dnsmasq[31323]: using nameserver 10.x.xx.75#53
Nov  3 23:19:56 dnsmasq[31323]: using nameserver 192.168.178.1#53


Queries then fail with NXDOMAIN.  FWIW I still use --strict-order.


Best Regards,
Johannes



More information about the Dnsmasq-discuss mailing list