This resource is to inform about additional changes required concerning .local
domain FQDN usage and DNS resolution after upgrading HCX Connector or Cloud version to 4.4.0 and above.
.local
domain after upgrading HCX Connector or Cloud version to 4.4.0 and above.
root@vmware-hcx [ /home/admin ]# ping<
FQDN
>.local
ping:<
: Temporary failure in name resolutionFQDN
>.local
/common/logs/appliance-management/appliance-management.log:
<timestamps
> UTC [https-jsse-nio-9443-exec-3, , ] ERROR c.v.v.hybridity.LookupServiceAdapter- Error querying SSO server configuration: {"status":"FAILURE","failure":"UnknownHostException","details":"java.net.UnknownHostException:<
: Temporary failure in name resolution\FQDN
>.local
After upgrading the HCX Connector or cloud manager version to 4.4.0 and above, the DNS resolution is managed by systemd-resolved, and it operates differently from an ordinary resolve
Note: For more details about the systemd-resolved process, please refer systemd-resolved.service(Protocols and Routing).
IMPORTANT:
For HCX Connector or Cloud version 4.4.0 and above(Photon OS), with the .local domain FQDN usage, the search or routing domain needs to be configured explicitly to make lookups as shown below:
1st METHOD
.local
domain under search domains.
2nd METHOD
root
./etc/systemd/resolved.conf
using the VI editor and adding the required domains as shown belowBEFORE CHANGE
# created by setup_hcx_network on Tue Oct 25 21:54:02 UTC 2022 [Resolve] DNS=#.#.#.#, #.#.#.# Domains= #FallbackDNS=#.#.#.#, #.#.#.# LLMNR=false #MulticastDNS=yes # TODO: dnssec not working in vmc yet, change back to allow-downgrade DNSSEC=no DNSOverTLS=no #Cache=yes #DNSStubListener=udp
AFTER CHANGE
# created by setup_hcx_network on Tue Oct 25 21:54:02 UTC 2022 [Resolve]
DNS=#.#.#.#, #.#.#.#
Domains=local >>>>>>>>>>>>>>> #FallbackDNS=#.#.#.#, #.#.#.# LLMNR=false #MulticastDNS=yes # TODO: dnssec not working in vmc yet, change back to allow-downgrade DNSSEC=no DNSOverTLS=no #Cache=yes #DNSStubListener=udp
IMPORTANT: For both of these methods using UI & CLI, restart the systemd-resolved service from the HCX root console using the below command:
systemctl restart systemd-resolved
.local
domain FQDNs are used.