Problem: A new server cannot be installed due to DNS error

Problem:

A new server cannot join because of DNS error

“Unter der Adresse des DNS-Servers konnte kein Domänencontroller gefunden werden. Die Netzwerkeinstellungen sollten überprüft werden.”


“No domain controller was found at the address of the name server. Please adjust your network settings.”

Wizard1

Solution:

You can try the following steps to find the root cause and/or solve the issue:

Step1:

Check firewall and ports.

Step 2:

Check the DNS settings on the slave. The master has to be set as DNS server.

Step 3:

Check if the master has more than one interface, make sure they are all propery configured.
Withdns/backend=samba4 check if these interfaces are properly used by samba

ucr get samba/interfaces
ucr get samba/interfaces/bindonly

Step 4:

Simply try to restart the bind9 service on the master:
systemctl restart bind9.service nscd.service

Step 5:

Check the following service Record to be resolvable

On the master:

dig _ldap._tcp.schein.me SRV

;; ANSWER SECTION:
_ldap._tcp.schein.me.   10800   IN      SRV     0 100 389 master.schein.me.

;; AUTHORITY SECTION:
schein.me.              10800   IN      NS      master.schein.me.

;; ADDITIONAL SECTION:
master.schein.me.       80600   IN      A       10.200.43.30

On the Slave you want to join, if you are in a virtual environment and you can switch to a built-in shell

# chroot /target
# bash
dig _ldap._tcp.schein.me SRV
1 Like
Mastodon