<div dir="ltr"><div>Base on my understanding of the manpage, "all-servers" means dnsmasq will send query to all servers at once and use the 1st response.</div><div><br></div><div> 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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 10, 2019 at 12:29 AM Siji Sunny <<a href="mailto:siji.sunny@sugarboxnetworks.com">siji.sunny@sugarboxnetworks.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">OS: Ubuntu 18.04 with all updates<br>dnsmasq version: 2.79-1<br><br>According to man page:<br><br>--all-servers<br>    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.<br><br>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:<br><br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> query[A] <a href="http://news.com" target="_blank">news.com</a> from 10.10.10.101<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 2001:1998:f00:2::1<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 2001:1998:f00:1::1<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 2606:4700:4700::1001<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 2606:4700:4700::1111<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 2001:4860:4860::8844<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 2001:4860:4860::8888<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 209.18.47.63<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 209.18.47.62<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 209.18.47.61<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 1.0.0.1<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 1.1.1.1<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 8.8.4.4<br>Dec 09 11:29:24 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> forwarded <a href="http://news.com" target="_blank">news.com</a> to 8.8.8.8<br>Dec 09 11:29:25 door dnsmasq[9403]: 3640 <a href="http://10.10.10.101/49351" target="_blank">10.10.10.101/49351</a> reply <a href="http://news.com" target="_blank">news.com</a> is 35.190.79.82<br><br>Is --all-servers behavior changed to default on? Is there a way to revert it?<br></div></blockquote><div><br></div><div>Dear John,</div><div>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.</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br>Thank you!<br><br>John Siu</div>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(68,68,68)">Siji </span><br></div></div></div></div></div></div></div></div></div></div>

<br>
<div style="font-size:1.3em"><a href="https://www.facebook.com/SugarBoxNetworks/" style="font-family:"trebuchet ms",sans-serif;font-size:1.3em" target="_blank"><img src="https://www.sugarboxnetworks.com/img/social/facebook-small.png" style="font-family: Arial, Helvetica, sans-serif; font-size: 62.5%;"></a><font style="color:rgb(34,34,34);font-family:"trebuchet ms",sans-serif;font-size:1.3em">  | </font><a href="https://www.instagram.com/sugarboxnetworks/" style="font-family:"trebuchet ms",sans-serif;font-size:1.3em" target="_blank"><img src="https://www.sugarboxnetworks.com/img/social/instagram-small.png" style="font-family: Arial, Helvetica, sans-serif; font-size: 62.5%;"></a><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"trebuchet ms",sans-serif;font-size:1.3em"> | </span><a href="https://in.linkedin.com/company/margo-networks-pvt.-ltd." style="font-family:"trebuchet ms",sans-serif;font-size:1.3em" target="_blank"><img src="https://www.sugarboxnetworks.com/img/social/linkedin-small.png" style="font-family: Arial, Helvetica, sans-serif; font-size: 62.5%;"></a></div><div><div style="font-size:small;color:rgb(34,34,34);background-color:rgb(255,255,255);font-family:"trebuchet ms",sans-serif"><br></div></div></blockquote></div>