<div dir="ltr"><div><div><div>Hi List,<br><br></div> 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.<br>
<br></div> The problem is, when I queried some certain domain(<a href="http://scontent-a.cdninstagram.com">scontent-a.cdninstagram.com</a> .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.<br>
<br> 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.<br>
<br></div><div> 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.<br></div><div> Which means,Dnsmasq will take the first answer with answer section as result ,rather than the first answer just returned.<br>
<br></div><div>Thank you!<br><br></div><div>Bi Qin<br></div></div>