[Samba] Samba DNS fails when queried with nslookup commands

James Atwell james.atwell365 at gmail.com
Wed Aug 12 20:49:09 UTC 2020


      Having issues with a DC not responding to DNS requests. OS is 
Ubuntu 18.04.4 LTS. Samba version 4.12.2 compiled from source. Checking 
to see what is listening on port 53 reports;

@soldc4:~# netstat -tulpn | grep ":53"
tcp        0      0*               LISTEN      
tcp6       0      0 :::53 :::*                    LISTEN      
2694/samba: task[dn
udp        0      0*                           
udp6       0      0 :::53 :::*                                
2694/samba: task[dn

How do I disable systemd-resolve and ensure only samba is listening on 
port 53 for DNS requests?  You can see below nslookup succeeds when 
querying another server in the network but fails on this one.

root at soldc4:~# nslookup google.com soldc1
Server:         soldc1

Non-authoritative answer:
Name:   google.com
Name:   google.com
Address: 2607:f8b0:4004:806::200e

root at soldc4:~# nslookup google.com soldc4
;; connection timed out; no servers could be reached

Thanks in advance for any help.


More information about the samba mailing list