Hi,<div>a friend of mine using NetworkManger complained</div><div>that when he puts 3 DNS entries on NM he gets</div><div>NXDOMAIN, then he goes to /etc/resolv.conf</div><div>and manually adds them. Since NM uses dnsmasq</div>
<div>and the website says bugs should be discussed here</div><div>I'll explain why it is failing.</div><div>Also note that I'm not a DNS expert (he knows about</div><div>it better), anyway, we found out that different from </div>
<div>libresolver dnsmasq spawns a call for all DNS servers</div><div>and the fist to reply gets repassed to the caller.</div><div><br></div><div>This is a big problem, since you put your internal</div><div>company DNS to resolv local names, then you</div>
<div>add some external DNS just in case the internal one fails.</div><div>It also means that the order that you put the DNS</div><div>doesn't matter since the reply speed is what is more</div><div>important...</div><div>
<br></div><div>I think it would be sane to have the same behavior</div><div>as libresolv. How can this issue be addressed?</div><div>Is there another place to fill a bug report?</div><div>My friend told be also that he saw other people</div>
<div>complaining in forums about this but they</div><div>didn't know the cause.</div><div><br></div><div>TCPDUMP (I changed the ips...)</div><div><div>15:05:48.978824 IP 200-200-200-200.bbone.telesp.net.br.40510 > 10.0.0.123.domain: 12632+ A? intranet.foo.bar. (40)</div>
<div>15:05:48.978872 IP 200-200-200-200.bbone.telesp.net.br.40510 > resolver1.telesp.net.br.domain: 12632+ A? intranet.foo.bar. (40)</div><div>15:05:48.979517 IP 200-200-200-200.bbone.telesp.net.br.45180 > resolver1.telesp.net.br.domain: 49029+ PTR? 123.0.0.10.in-addr.arpa. (41)</div>
<div>15:05:48.982797 IP resolver1.telesp.net.br.domain > 200-200-200-200.bbone.telesp.net.br.40510: 12632 NXDomain 0/1/0 (102)</div><div>15:05:48.983391 IP resolver1.telesp.net.br.domain > 200-200-200-200.bbone.telesp.net.br.45180: 49029 NXDomain 0/0/0 (41)</div>
<div>15:05:48.984412 IP 200-200-200-200.bbone.telesp.net.br.26486 > resolver1.telesp.net.br.domain: 2556+ A? intranet.foo.bar. (40)</div><div>15:05:48.984622 IP 10.0.0.123.domain > 200-204-2-133.bbone.telesp.net.br.40510: 12632* 1/0/0 A 10.20.96.43 (56)</div>
<div>15:05:48.988846 IP resolver1.telesp.net.br.domain > 200-200-200-200.bbone.telesp.net.br.26486: 2556 NXDomain 0/1/0 (102)</div></div><div><div><br></div><div>As you can see 10.0.0.123 does knows about the domain, but <a href="http://resolver1.telesp.net.br">resolver1.telesp.net.br</a> reply first.</div>
<div><br></div>-- <br>Daniel Nicoletti<br><br>KDE Developer - <a href="http://dantti.wordpress.com" target="_blank">http://dantti.wordpress.com</a><br>
</div>