I am trying to join an ubuntu18.04 host (let’s call it hostA) to an UCS domain using DC slave. I did the following:
- set DC slave IP as nameserver in /etc/resolv.conf of hostA
- run on hostA:
univention-domain-join-cli --username Administrator --password-file /root/Administrator-password.txt --domain abc.com
and got this response:
Automatically detected the domain ‘abc.com’.
No DNS record for the DC master could be found. Please make sure that the DC master is the DNS server for this computer or use this tool with --master-ip.
so it seems that univention-domain-join-cli expects that it can talk to the DC master.
I tried to use the option --master-ip with the DC slave IP address (just in case) and it didn’t work, with error:
CRITICAL All nameservers failed to answer the query _domaincontroller_master._tcp.abc.com. IN SRV: Server 192.168.30.103 UDP port 53 answered SERVFAIL
Any hint what to try please? Or is it impossible to join using a DC slave?