Univention Bugzilla – Bug 44535
check_essential_samba4_dns_records fails to find DNS records
Last modified: 2017-06-15 17:58:14 CEST
# univention-app info UCS: 4.2-0 errata10 App Center compatibility: 4 Installed: kde=4 samba4=4.6 Upgradable: # /usr/share/univention-samba4/scripts/check_essential_samba4_dns_records.sh Host gc._msdcs not found: 3(NXDOMAIN) Host _gc._tcp not found: 3(NXDOMAIN) Host _ldap._tcp.gc._msdcs not found: 3(NXDOMAIN) Host _ldap._tcp not found: 3(NXDOMAIN) Host _ldap._tcp.dc._msdcs not found: 3(NXDOMAIN) Host _ldap._tcp.pdc._msdcs not found: 3(NXDOMAIN) Host _ldap._tcp.7d1bc945-8e72-49f9-a353-7e294221532b.domains._msdcs not found: 3(NXDOMAIN) Host _kerberos._tcp.dc._msdcs not found: 3(NXDOMAIN) Host _kerberos._tcp not found: 3(NXDOMAIN) Host _kerberos._udp not found: 3(NXDOMAIN) Host _kpasswd._tcp not found: 3(NXDOMAIN) Host _kpasswd._udp not found: 3(NXDOMAIN) Located DC 'ucs-7125' in site 'Default-First-Site-Name' Host 216d4ac8-0c1e-45e7-aac0-b42eed7cca41._msdcs not found: 3(NXDOMAIN) ## Records for site Default-First-Site-Name: Host _ldap._tcp.Default-First-Site-Name._sites not found: 3(NXDOMAIN) Host _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs not found: 3(NXDOMAIN) Host _kerberos._tcp.Default-First-Site-Name._sites not found: 3(NXDOMAIN) Host _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs not found: 3(NXDOMAIN) ## Optional GC Records for site Default-First-Site-Name: Host _gc._tcp.Default-First-Site-Name._sites not found: 3(NXDOMAIN) Host _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs not found: 3(NXDOMAIN) _kerberos.intranet.example.org descriptive text "INTRANET.EXAMPLE.ORG" DNS works, only the shell script fails to find the records. Seems to be an issue of Relative Domain Name vs FQDN: root@ucs-7125:~# host gc._msdcs Host gc._msdcs not found: 3(NXDOMAIN) root@ucs-7125:~# host gc._msdcs.$(ucr get domainname) gc._msdcs.intranet.example.org has address 192.168.122.227
I think I saw this output yesterday in a customer environment but it was not a problem, just weird
Yes, I saw this change of behavior of "host" during UCS 4.2-0 development. No clue why it doesn't use the search domain configured in resolv.conf any longer. Fixed in the script. Advisory: univention-samba4.yaml
OK - check_essential_samba4_dns_records.sh OK - YAML
<http://errata.software-univention.de/ucs/4.2/42.html>