[Samba] DNS sometimes give error/timeout or works fine

Miguel Angel Coa M. miguelcoam at gmail.com
Tue May 12 11:31:01 UTC 2020


Hi,
i've three samba DC's with BIND9_DLZ backend . The DNS queryes is erratic,
sometimes from pc lan the DNS resolution work fine and on another
occasion give timeout or fail

My DC's are:

[............]
[root at sambadc03 ~]# host -t A mydomain.com
mydomain.com has address 10.13.250.128
mydomain.com has address 10.13.250.110
mydomain.com has address 10.13.250.111
mydomain.com has address 10.13.250.112
[............]

Note: The .110 and .111 are the same DC (this server have 2 ip's)

Example:

Query fail from pc

[............]
mcoa at mcoa-new-air:~|⇒  nslookup mydomain.com 10.13.250.112
;; connection timed out; no servers could be reached
[............]

>From the same pc and the same query .... result is ok

[............]
mcoa at mcoa-new-air:~|⇒  nslookup mydomain.com 10.13.250.112
Server: 10.13.250.112
Address: 10.13.250.112#53

Name: mydomain.com
Address: 10.13.250.112
Name: mydomain.com
Address: 10.13.250.111
Name: mydomain.com
Address: 10.13.250.128
Name: mydomain.com
Address: 10.13.250.110
[............]

If i check inside DC i've similar behavior

Fail

[............]
[root at sambadc02 ~]# dig @10.13.250.112 mydomain.com ns
;; connection timed out; no servers could be reached
[............]


Works fine
[............]
[root at sambadc02 ~]# dig @10.13.250.112 mydomain.com ns +short
sambadc01.mydomain.com.
sambadc02.mydomain.com.
sambadc03.mydomain.com.
[............]

Inside the DC consulting to 127.0.0.1 the query and resulte is fine


What could be happening?


More information about the samba mailing list