Bruno Medeiros
2016-03-09 05:42:35 UTC
Hi, all!
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:
local network = 10.50.7.0/24
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 (mydomain.net) outside my local
network, so I setup dnsmasq.conf as following:
no-resolv
server=10.50.7.2
server=/mydomain.net/10.10.10.53
server=/mydomain.net/10.10.20.168
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:
nslookup -type=srv _ldap._tcp.mydomain.net 127.0.0.1
-> result on *2.66-14.el7_1*
100% success!
-> result on *2.75-3.fc22*
~50% success, ~50% failure
The error I got on failures is:
[***@ferret ~]# nslookup -type=srv _ldap._tcp.mydomain.net 127.0.0.1
;; connection timed out; no servers could be reached
I enabled the dnsmasq logs and, when it fails, I see the following output
3-4 times before query failure:
Mar 9 02:23:45 dnsmasq[9242]: query[SRV] _ldap._tcp.mydomain.net from
127.0.0.1
Mar 9 02:23:45 dnsmasq[9242]: forwarded _ldap._tcp.mydomain.net to
10.10.20.168
Mar 9 02:23:45 dnsmasq[9242]: forwarded _ldap._tcp.mydomain.net to
10.10.10.53
Of course, querying 10.10.10.53 directly works 100% of the time on both
machines.
Any ideias? Should I fill a bug?
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:
local network = 10.50.7.0/24
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 (mydomain.net) outside my local
network, so I setup dnsmasq.conf as following:
no-resolv
server=10.50.7.2
server=/mydomain.net/10.10.10.53
server=/mydomain.net/10.10.20.168
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:
nslookup -type=srv _ldap._tcp.mydomain.net 127.0.0.1
-> result on *2.66-14.el7_1*
100% success!
-> result on *2.75-3.fc22*
~50% success, ~50% failure
The error I got on failures is:
[***@ferret ~]# nslookup -type=srv _ldap._tcp.mydomain.net 127.0.0.1
;; connection timed out; no servers could be reached
I enabled the dnsmasq logs and, when it fails, I see the following output
3-4 times before query failure:
Mar 9 02:23:45 dnsmasq[9242]: query[SRV] _ldap._tcp.mydomain.net from
127.0.0.1
Mar 9 02:23:45 dnsmasq[9242]: forwarded _ldap._tcp.mydomain.net to
10.10.20.168
Mar 9 02:23:45 dnsmasq[9242]: forwarded _ldap._tcp.mydomain.net to
10.10.10.53
Of course, querying 10.10.10.53 directly works 100% of the time on both
machines.
Any ideias? Should I fill a bug?
--
--
BrunoJCM
--
BrunoJCM