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

Siji Sunny siji.sunny at sugarboxnetworks.com
Tue Dec 10 05:29:35 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?
>

Dear John,
If I understood correctly, option all-servers will enable dnsmasq to send
the resolve query to the secondary dns server defined, if its failed to
resolve from the first one.


>
> Thank you!
>
> John Siu
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>


-- 
Siji

-- 
 <https://www.facebook.com/SugarBoxNetworks/>  |  
<https://www.instagram.com/sugarboxnetworks/> |  
<https://in.linkedin.com/company/margo-networks-pvt.-ltd.>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20191210/a3dbab61/attachment-0001.html>


More information about the Dnsmasq-discuss mailing list