[Dnsmasq-discuss] dnsmasq and VPN client updates resolv.conf with multiple nameservers
Geert Stappers
stappers at stappers.nl
Thu Nov 4 06:46:18 UTC 2021
On Wed, Nov 03, 2021 at 11:45:15PM +0100, Johannes Stezenbach wrote:
> 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.
} but dnsmasq doesn't deal with it as I expected.
or
} but dnsmasq doesn't deal with it as I hoped for.
> 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.
My guess it that reloading dnsmasq after VPN open / close cloud help.
Please expriment with it and report back.
> Best Regards,
> Johannes
>
Groeten
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list