[Dnsmasq-discuss] "--all-servers" always on?

John Siu john.sd.siu at gmail.com
Mon Dec 9 16:58:22 GMT 2019


OS: Ubuntu 18.04 with all updates
dnsmasq version: 2.79-1

According to man page:

--all-servers
    By default, when dnsmasq has more than one upstream server available,
it will send queries to just one server. Setting this flag forces dnsmasq
to send all queries to all available servers. The reply  from  the  server
 which  answers first will be returned to the original requester.

I don't have that flag in command line or in the config file. However with
"log-queries=extra" in config file, I am seeing following:

Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 query[A]
news.com from 10.10.10.101
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 2001:1998:f00:2::1
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 2001:1998:f00:1::1
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 2606:4700:4700::1001
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 2606:4700:4700::1111
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 2001:4860:4860::8844
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 2001:4860:4860::8888
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 209.18.47.63
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 209.18.47.62
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 209.18.47.61
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 1.0.0.1
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 1.1.1.1
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 8.8.4.4
Dec 09 11:29:24 door dnsmasq[9403]: 3640 10.10.10.101/49351 forwarded
news.com to 8.8.8.8
Dec 09 11:29:25 door dnsmasq[9403]: 3640 10.10.10.101/49351 reply news.com
is 35.190.79.82

Is --all-servers behavior changed to default on? Is there a way to revert
it?

Thank you!

John Siu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20191209/0f789aa6/attachment.html>


More information about the Dnsmasq-discuss mailing list