Base on my understanding of the manpage, "all-servers" means dnsmasq will
> send query to all servers at once and use the 1st response.
>
> I am seeing all my queries, if not already in cache, are sent to all
> servers configured. But I don't have "all-servers" set. I want to turn off
> this behavior.
>

Interesting, we used to enable it by adding the entry all-servers @
dnsmasq.conf file. And by default its turned-off.


>
> On Tue, Dec 10, 2019 at 12:29 AM Siji Sunny <
> siji.su...@sugarboxnetworks.com> wrote:
>
>>
>> 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@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.>
>>
>>

-- 
Siji

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



_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to