<div class="gmail_quote"><div dir="ltr"><span style="font-size:13px">Hi, all!</span></div><div><div dir="ltr"><div><div><div><div><div><div><div><div><br></div>I'm facing a problem with dnsmasq 2.75-3.fc22 regarding dns forward timeout. I have the same setup on 2.66-14.el7_1 and it works flawlessly. Let me describe the problem:<br><br></div><div>local network = <a href="http://10.50.7.0/24" target="_blank">10.50.7.0/24</a><br></div>I have a local DNS server (10.50.7.2), and some machines need to keep using the local DNS server and also join a domain (<a href="http://mydomain.net" target="_blank">mydomain.net</a>) outside my local network, so I setup dnsmasq.conf as following:<br><br>no-resolv<br>server=10.50.7.2<br>server=/<a href="http://mydomain.net/10.10.10.53" target="_blank">mydomain.net/10.10.10.53</a><br>server=/<a href="http://mydomain.net/10.10.20.168" target="_blank">mydomain.net/10.10.20.168</a><br><br></div>After setting up dnsmasq and changing resolv.conf to point to 127.0.0.1 only, I run the following on both machines a few times:<br><br>nslookup -type=srv _ldap._<a href="http://tcp.mydomain.net" target="_blank">tcp.mydomain.net</a> 127.0.0.1<br><br></div><div><br></div>-> result on *2.66-14.el7_1*<br>100% success!<br><br></div>-> result on *2.75-3.fc22*<br>~50% success, ~50% failure<br></div>The error I got on failures is:<br><br>[root@ferret ~]# nslookup -type=srv _ldap._<a href="http://tcp.mydomain.net" target="_blank">tcp.mydomain.net</a> 127.0.0.1<br>;; connection timed out; no servers could be reached<br><br></div><div>I enabled the dnsmasq logs and, when it fails, I see the following output 3-4 times before query failure:<br>Mar  9 02:23:45 dnsmasq[9242]: query[SRV] _ldap._<a href="http://tcp.mydomain.net" target="_blank">tcp.mydomain.net</a> from 127.0.0.1<br>Mar  9 02:23:45 dnsmasq[9242]: forwarded _ldap._<a href="http://tcp.mydomain.net" target="_blank">tcp.mydomain.net</a> to 10.10.20.168<br>Mar  9 02:23:45 dnsmasq[9242]: forwarded _ldap._<a href="http://tcp.mydomain.net" target="_blank">tcp.mydomain.net</a> to 10.10.10.53<br></div><div><br><br></div>Of course, querying 10.10.10.53 directly works 100% of the time on both machines.<br><br></div>Any ideias? Should I fill a bug?<br><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div>
</div></div><div dir="ltr">-- <br></div><p dir="ltr">--<br>
BrunoJCM</p>