[Samba] DNS issue with second samba DC

dahopkins at comcast.net dahopkins at comcast.net
Fri Aug 2 14:06:32 MDT 2013

Quick update: 

If I add 

domain ncs.k12.de.us 

to /etc/resolv.conf on the second DC, names resolve. However, I don't need this entry on the PDC. 

Dave Hopkins 

----- Original Message -----
From: dahopkins at comcast.net 
To: "samba" <samba at lists.samba.org> 
Sent: Friday, August 2, 2013 3:57:28 PM 
Subject: [Samba] DNS issue with second samba DC 

I have samba4 installed on two systems: ncssamba1 and ncssamba2. ncssamba1 is the PDC, ncssamba2 was joined to the domain using the instructions here: http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC 

I had to manually add the DNS information as mentioned on that page. I can add a user and the user is replicated. 

However, I have some issues with DNS resolving hostnames. Specifically, on the PDC, 

$ nslookup ncsfs1 

Name: ncsfs1.ncs.k12.de.us 

But the same system is not found on the second DC 

$ nslookup ncsfs1 

Non-authoritative answer: 
*** Can't find ncsfs1: No answer 

resolv.conf is identical between the two systems. /usr/local/samba/etc/smb.conf is likewise the same (except for netbios name) 

workgroup = NEWARKCHARTER 
realm = ncs.k12.de.us 
netbios name = NCSSAMBA1 
server role = active directory domain controller 
idmap_ldb:use rfc2307 = yes 
dns forwarder= 
allow dns updates=nonsecure and secure 

path = /usr/local/samba/var/locks/sysvol/ncs.k12.de.us/scripts 
read only = No 

path = /usr/local/samba/var/locks/sysvol 
read only = No 

A second DNS issue is that I have other systems that are multihomed (e.g. and Allowing the updates means that the gets added to DNS which I do not want to happen. I want the dns updates only for the 10.179 addresses. Can this be done? 

Finally, I have to relocate the second DC to a new IP address ( at a remote site. I found instructions here: https://lists.samba.org/archive/samba-technical/2013-May/092260.html But I assume I will need to manually create the reverse lookup zone? 

Dave Hopkins 

To unsubscribe from this list go to the following URL and read the 
instructions: https://lists.samba.org/mailman/options/samba 

More information about the samba mailing list