[Dnsmasq-discuss] Problem with no-resolv and no IP
Alkis Georgopoulos
alkisg at gmail.com
Sat Mar 5 21:46:29 UTC 2022
Hi, on Ubuntu 22.04 and dnsmasq 2.86-1.1:
1) Use the following dnsmasq.conf:
no-resolv
server=8.8.8.8
2) Ifdown the network so that there's no local IP
3) (Re)start dnsmasq
4) Ifup the network, let's say local IP=10.0.0.1 now
At that point:
5) `host google.com 10.0.0.1` fails with connection timed out,
6) `host google.com 127.0.0.1` works.
In other words, when dnsmasq is started when there's no local IP, AND
no-resolv is set, then dnsmasq doesn't reply to the local IPs that are
assigned later on.
Is this a bug? Am I doing something wrong?
Please Cc me as I'm not subscribed to the list.
Thank you,
Alkis Georgopoulos
More information about the Dnsmasq-discuss
mailing list