[Dnsmasq-discuss] Getting odd (IPV6) error on Ubuntu 24.04 system, not on similar 23.10 system

Matus UHLAR - fantomas uhlar at fantomas.sk
Sun Jun 9 13:06:11 UTC 2024


On 03.06.24 21:46, Chris Green wrote:
>I'm running dnsmasq 2.90 on two very similar systems, one is running
>xubuntu 23.10, the other is running xubuntu 24.04.  On the xubuntu
>23.10 system when I use 'host' to get an IP address I get no errors:-
>
>    chris$ host github.com
>    github.com has address 20.26.156.215
>    github.com mail is handled by 1 aspmx.l.google.com.
>    github.com mail is handled by 10 alt3.aspmx.l.google.com.
>    github.com mail is handled by 10 alt4.aspmx.l.google.com.
>    github.com mail is handled by 5 alt1.aspmx.l.google.com.
>    github.com mail is handled by 5 alt2.aspmx.l.google.com.
>    chris$
>
>...but on the xubuntu 24.04 system I get errors which look like
>something broken in IPV6 to me:-
>
>    chris at q957$ host github.com
>    ;; communications error to ::1#53: connection refused
>    ;; communications error to ::1#53: connection refused

this looks like either yourt ipv6 is not configured or dnsmasq does not 
listen on ::1.

>Does xubuntu 24.04 try IPV6 by default whereas xubuntu 23.10 doesn't?
>Is there some obvious bit of configuration I can change to fix this?

did you look into /etc/resolv.conf ?

>(Both systems are on the same LAN with DNS provided by the same router)
>
>The dnsmasq.conf file on both systems is the same, and pretty trivial:-


>    listen-address=127.0.0.1
>    bind-interfaces

And this explains why dnsmasq only listens on ipv4 


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Support bacteria - they're the only culture some people have.



More information about the Dnsmasq-discuss mailing list