[Samba] Problems with Internal DNS Samba 4
rpenny at samba.org
Sat Aug 31 07:08:01 UTC 2019
On 31/08/2019 04:28, Marcio Demetrio Bacci via samba wrote:
> I have updated my DC's to Samba 4.10.7, but I still can't add a new DC to
> the domain. I believe the problem is with Samba Internal DNS.
> So I would like to convert my DNS from Internal DNS to Bind9_DLZ of the
> production DC's. Then I will join a new DC to the domain to see if it works.
> I checked the tutorials:
> But I found it a little complicated.
> I'm in doubt if I have to configure all DNS zones manually (servers,
> networks, ptr, records, A records, CNAMES and others) as a simple Bind or
> if automatically configures it when do samba adjustments to turn it in
> Bind9_DLZ (samba_upgradedns --dns-backend=BIND9_DLZ).
> Could anybody help me?
> Márcio Bacci
It is fairly simple ;-)
Read and follow:
# Check and correct rights if required
# Check that the permissions on /var/lib/samba/bind-dns are 'drwxrwx---'
# If not:
chmod 770 /var/lib/samba/bind-dns
# Check that the 'bind' is the group for /var/lib/samba/bind-dns/dns.keytab
# If not:
chown root:bind /usr/local/samba/private/dns.keytab
chmod 640 /usr/local/samba/private/dns.keytab
# Run the following command:
# Alter smb.conf
# Change the "server services" parameter:
# If the line is there and contains 'dns', remove 'dns', if it doesn't
contain 'dns' you do not need to do anything.
# If the line isn't there (more likely), add 'server services -dns'
# remove the forwarders line
service bind9 restart
service samba restart
More information about the samba