[Samba] NS records for a new AD DC

Chris Hastie lists at oak-wood.co.uk
Tue Oct 18 09:39:46 UTC 2016


I have just joined a second DC to my Samba based AD, with Bind9_DLZ 
providing the DNS on DC2 (samba internal on DC1). I notice that the AD 
zone has not acquired an NS entry pointing to DC2. I presume that 
ideally such an entry should exist?

I have tried to add something, but I cannot work out how to use 
samba-tool to add an RR for the root of a zone. If I miss the name 
argument out, or if I use and '@', it complains and reminds me of the 
correct usage.

# samba-tool dns add dc1 ad.mydomain.com @ NS dc2.ad.mydomain.com 
-UAdministrator
Usage: samba-tool dns add <server> <zone> <name> 
<A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>

If an NS record should exist, how best should I add it?

Chris



More information about the samba mailing list