[Dnsmasq-discuss] With --all-servers option enabled, query failed due to first answer with no answer section

毕勤 leavic at gmail.com
Thu Jul 24 03:01:13 BST 2014


Hi List,

         I have config multiple dns servers in the config file with
"-all-servers" option enabled.The reason why I did this is to get correct
answer from foreign DNS(due to the dns poison of China's Great Firewall)
without losing the fast query speed from local(China) DNS.

        The problem is, when I queried some certain domain(
scontent-a.cdninstagram.com .eg),the first answer from local DNS has no
answer section(still a dns poison issue) then Dnsmasq accept and take this
as the final answer, as it's the first answer.This make the queries for
that domain from desktop failed.

        In the meantime,force to dig that domain with google DNS will give
me the correct answer with answer section. I understand that's a correct
behavior as described in the Dnsmasq's Manpage for "--all-servers"
option.And I can deal with it with  the "server=/domain/DNS" option to use
certain DNS for certain domain as a temporary solution.

       But could it be more intelligent?When "--all-server" option
enabled,force to Dnsmasq to query from other servers configed if the first
answer has no answer section.
       Which means,Dnsmasq will take the first answer with answer section
as result ,rather than the first answer just returned.

Thank you!

Bi Qin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140724/a5112396/attachment.html>


More information about the Dnsmasq-discuss mailing list