[Dnsmasq-discuss] [bisected] re-reading resolv.conf bug
Geert Stappers
stappers at stappers.nl
Mon Jan 3 20:07:50 UTC 2022
On Mon, Jan 03, 2022 at 08:30:33PM +0100, Johannes Stezenbach wrote:
> Hi Simon,
>
> commit efea282396 "Fix logic in add_update_server() to make
> optimisation actually optimise."
That is https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=efea282396
> introduced a bug when re-reading
> resolv.conf after changes. Found by git bisect and confirmed
> by reverting efea282396 on top of current git 011f8cf1d011.
>
> The issue happens when starting/stopping VPN and entries are
> added to/removed from /run/dnsmasq/resolv.conf.
> --strict-order is in use.
>
>
> No VPN:
> nameserver 192.168.178.1
>
> After starting VPN:
> nameserver 10.x.xx.60
> nameserver 10.x.xx.75
> nameserver 192.168.178.1
>
> Jan 3 20:06:04 dnsmasq[20581]: using nameserver 192.168.178.1#53
> Jan 3 20:06:04 dnsmasq[20581]: using nameserver 10.x.xx.75#53
> Jan 3 20:06:04 dnsmasq[20581]: using nameserver 192.168.178.1#53
>
> If dnsmasq is restarted to work around the problem,
> then after stopping VPN:
>
> Jan 3 19:55:18 dnsmasq[18927]: using nameserver 10.x.xx.60#53
>
>
> Could you please check it?
>
I can say: thanks for reporting
I say: thanks for reporting
Groeten
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list