[Samba] Samba AD Best Practice (DNS)

Pat Suwalski pat at suwalski.net
Thu Oct 12 15:00:35 UTC 2017


This question is about best practice of introducing sambda-ad-dc to an 
organization that already has networking, and being minimally disruptive 
about it. I guess this question applies equally to adding a Windows AD 
server, but most people with that setup would let it be the primary DNS, 

For this example:
- Network:
- Domain: network.ca
- AD server: ad.network.ca,
- Gateway/DNS:

The gateway is running as the main DNS server, and has the various 
underscore ("_") entries required for Windows to find the Active 
Directory. It sends "" as the DNS option over its DHCP server. 
The samba AD server has its DNS forwarder set to "".

Now, the question:

To be able to take full advantage of AD, should DHCP provide the Windows 
clients with "" as the DNS server? I know it dynamically adds 
the computers that are on the Active Directory, and possible other 
things that help make Windows services run smoothly. That said, the 
samba forwarder only seems to forward zones it is not familiar with. 
Since the samba server serves up "network.ca", when asked, it does not 
resolve "gitlab.network.ca" that the main DNS server knows how to 
resolve. This has forced me to just provide as the DNS.

What is the best practice to solve this. Is there actually any benefit 
to having the AD server serve up DNS?

I'm sure others have been wondering this, and it would probably be a 
decent question to put in the DNS section of the Wiki, as I'm sure there 
are many samba mixed-network environments.


More information about the samba mailing list