Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1001209: dnsmasq: Regression: Fails to direct queries to 127.0.1.1#10053

11 views
Skip to first unread message

Sven Mueller

unread,
Dec 6, 2021, 8:30:04 AM12/6/21
to
Package: dnsmasq
Version: 2.86-1.1
Severity: Serious

We have this our /etc/NetworkManager/dnsmasq.d/local-proxy:


This leads to:

dnsmasq: Bad address in --address at line 2 of /etc/NetworkManager/dnsmasq.d/goobuntu-dnsproxy

The syntax used is exactly as documented in `man dnsmasq`: /domain/server#port

Once I remove the port (#10053), the configuration "works" (except that it of course doesn't find the server to resolve the relevant requests).

Sven Mueller

unread,
Dec 6, 2021, 8:50:03 AM12/6/21
to

This bug is actually caused by what appears to be an accidental change:

--local apparently is now an alias to --address while the manpage says it is an alias to --server.

Still a regression and/or breaking change.

Cheers,
Sven

Michael Biebl

unread,
Dec 9, 2021, 1:50:04 PM12/9/21
to
On Mon, 6 Dec 2021 14:20:51 +0100 Sven Mueller <sven.mu...@gmail.com>
wrote:
Is that regression specific to 2.86-1.1 i.e. is my backport of the fix for
[1] incomplete/broken or did you experience the problem with 2.86-1 as well?

Looking at the upstream git repo and its log, there might be other fixes
which need to be cherry-picked or we simply wait until Simon makes a 2.87
release :-)


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995655
[2] https://thekelleys.org.uk/gitweb/?p=dnsmasq.git
signature.asc

Sven Mueller

unread,
Dec 10, 2021, 3:00:04 PM12/10/21
to
Hi

judging from the Dnsmasq list, the problem is that --local is supposed to be an alias for --server, but the recent rewrite of the address logic apparently made it an alias of --adress instead.

If I use --server instead of--local, everything works as expected. (At least as far as I can tell.)

I can't say if the other version was also affected as we never tried that one and I won't have a chance to check for a while.

Basically, AFAICT, this boils down to:
Make --local a proper alias for --server again.
The alternative would be to update the documentation, but since this is a breaking change for existing installations, I don't think that would be appropriate.

Cheers,
Sven

0 new messages