Domain join tool fails on ubuntu 20.04


i have a problem with the domain join tool to join ubuntu machines into my server.
Ive got different ubuntu machines i like to join, they are somewhat vanilla Ubuntu 20.04.2 LTS.

On the first machine i have to check the “Set UCS DC as DNS Server” and it wokred like a charm.
However, on the next machine the tool started to fail "The domain join failed The UCS master name [MY NAME] could not be resolved.
Could someone help me about this ? Probably something in the DNS/network manager.

Best regards

i would check that the client is clearly using the correct domain name resolver.
sometimes the ubuntu internal tools “put it back” to the old version.
then check you are infact using the correct domain/commands.

1 Like

Thank you.

Not sure where to check. But when I go to the settings of the current WiFi connection - ipv4 - the DNS value is my univention server. Is that the right location to check?

if only…
you may need to drop down into your terminal…
because it is possible for the linux to have other resolvers in the resolver file.
the wifi just says “these are the resolvers i provided”

go check out

$ cat /etc/resolv.conf

and the dreaded “network manager” in settings…
also ensure you only have a wifi connection not ethernet as well

1 Like

Thank you soo much for helping me out!

resolv.conf shows three entry’s.

nameserver with an IP [<- so it’s local host?]
Options edns0 trust-ad
Search [my rooters login domain] [The ucs.intranet domain]

The WiFi settings list my univention server IP as DNS.

Edit: the settings and the file are matching with the working machine.
Maybe I miss something of network manager software.

be careful…

that 127.x.x.x.x setting is like a dummy proxy that points to the other DNS resolvers.
that might still be hidden some place.
have a look in network settings in the GUI, under network manager

1 Like


which network manager settings do I need to check.

This one ?

(The blue area is the UC’s IP)IMG_20220512_121210

I also checked if $ nmcli is known, because I saw other threads asking me to check. nmcli is installed.

Any ideas? Iam still stuck here

Sorry… i was off line for some time.
have you also checked the interface configs?

nano /etc/netplan/00-installer-config.yaml

or other files in “netplan”

1 Like

Thank you.

I have checked the netplan dir on both machines (the one that successfully joined and the one that not) and i have just one file in the dir, which is 01-network-manager-all.yaml

$ cat /etc/netplan/01-network-manager-all.yaml 
# Let NetworkManager manage all devices on this system
  version: 2
  renderer: NetworkManager

I’m At a loss then.

this sort of thing can only be resolved by hands on.

1 Like

Thank you.
Are there any informations what should be there?
Maybe i can find someone irl to help if i understand what causes the problem.

it means the name you used CANNOT be resolved.

  1. you go the name wrong.
  2. your PRIMARY DNS in NOT pointing at the AD server
    something else