Domain join failed

Hello
I tried to join an Ubuntu 16.04 to UCS domain. After installing the Univention Domain Join app I have the message “The domain join failed”

This is the log file

2019-10-16 08:19:39,531 userinfo WARNING Warning: /etc/ldap/ldap.conf already exists.
2019-10-16 08:19:39,532 userinfo WARNING Warning: /etc/krb5.conf already exists.
2019-10-16 08:19:39,533 userinfo INFO Created a backup of all configuration files, that will be modified at '/var/univention-back$
2019-10-16 08:19:39,645 userinfo CRITICAL Setting up DNS did not work. Try removing any DNS settings in the network-manager and g$
2019-10-16 08:19:39,646 userinfo CRITICAL
Traceback (most recent call last):
  File "/usr/sbin/univention-domain-join", line 471, in run
    distribution_joiner.join_domain()
  File "/usr/lib/python2.7/dist-packages/univention_domain_join/distributions/ubuntu.py", line 95, in join_domain
    DnsConfigurator(self.nameservers, self.domain).configure_dns()
  File "/usr/lib/python2.7/dist-packages/univention_domain_join/utils/general.py", line 40, in root_wrapper
    return_value = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 82, in configure_dns
    self.check_if_dns_works()
  File "/usr/lib/python2.7/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 93, in check_if_dns_works
    raise DnsConfigurationException()
DnsConfigurationException
2019-10-16 08:42:22,412 userinfo WARNING Warning: /etc/ldap/ldap.conf already exists.
2019-10-16 08:42:22,415 userinfo WARNING Warning: /etc/krb5.conf already exists.

Someone can help me …

Solved
For Ubuntu 16.04…
Edited file /run/resolvconf/interface/NetworkManager and updated like so :

#nameserver 127.0.0.1
nameserver ucs_ip like 192.168.x.x

Edited file /run/resolvconf/interface/enp3so.inet [could be other .inet file depending of your interface] and updated like so :

nameserver ucs_ip  --> added this line
nameserver 8.8.8.8
nameserver 8.8.4.4

Edited /run/resolvonf/resolv.conf and updated like so :

nameserver ucs_ip --> added this line
nameserver 8.8.8.8
nameserver 8.8.4.4
search ucs_domain your_isp

Where ucs_domain could be : my_ucs.intranet
Where your_isp could be voo.be (I am living in Belgium)

Then restarted the networking service: sudo /etc/init.d/networking restart
Then launched “Univention domain join” and give root pwd then filled in the ip address of the ucs and Administrator pwd.
Join was successful

Mastodon