L
L
LordNicky2015-12-29 18:38:29
Domain Name System
LordNicky, 2015-12-29 18:38:29

Samba4. Is it possible to use the DNS server (Bind) on another server?

Good day!
The network has 2 (bind + isc-dhcpd) servers (FreeBSD) operating in failover mode. Now on the third (also FreeBSD) kerberos + ldap is up. I'm currently raising samba4 as a domain controller on a third server. The fourth samb has a built-in dns server, and you can use bind instead. At first, everything seemed simple (to take the built-in one and not bother), but then I saw that I needed to tweak resolve.conf, which I really didn’t like. Therefore, a few questions:
- What role does this dns-server play (built-in or bind backend) and does it make sense to use the main dns-server as it?
- Is it possible to use dns for samba4 on another server and in what (approximately) way? (in case the answer to the first question does not exclude the second question)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Vasiliev, 2015-01-08
@LordNicky

Samba prescribes a bunch of service information about the domain and controllers in the domain.
And also about computers registered in the domain, which requires a dynamic update of the zone.
How to attach to an external bind is in the samba wiki:
https://wiki.samba.org/index.php/DNS_Backend_BIND#...
In particular, it says:
Note: BIND must be installed on the same machine as Samba AD DC. Since BIND DLZ module accesses AD database directly, BIND for AD zones must be on the same machine.
It seems to me that it is much easier to make a subdomain for samba and delegate it from the main one to the samba server, with its own built-in dns.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question