Edge node FQDN(s) does not resolve to management IP(s) provided. (Edge node name <fqdn>resolved to but should have resolved to management IP <ip> ; Faled to resolve <ip>)
var/log/vmware/vcf/domainmanager/domainmanager.log we see entries similar to below:YYYY-MM-DDThh:mm:ss INFO [vcf_dm, <opID>,###] [c.v.evo.sddc.common.dns.DnsHelper, http-nio-127.0.0.1-7200-exec-1] About to execute dig +noedns +short @<192.168.#.#> -x <NSX_Mgr_IP>
YYYY-MM-DDThh:mm:ss INFO [vcf_dm, <opID>,###][c.v.evo.sddc.common.dns.DnsHelper, http-nio-127.0.0.1-7200-exec-1] About to execute dig +noedns @<192.168.#.#> <NSX_Mgr_FQDN>
YYYY-MM-DDThh:mm:ss INFO [vcf_dm,<op_id>, ##] [c.v.v.n.c.v.NsxTEdgeClusterController,http-nio-127.0.0.1-7200-exec-1] populateLocalizedValidationProp returning {"id": "#####-#####-####", "description":"Validating NSX Edge cluster creation spec","executionStatus":"IN_PROGRESS", "resultStatus": "UNKNOWN","validationChecks": [{"description": "Validate Edge Node Management IP to FQDN Resolution","severity":"ERROR", "resultStatus":"FAILED", "errorResponse": {"errorCode":"ECM_INVALID_FQDN_OR_IP", "arguments": [""], "message":"Edge node FQDN(s) does not resolve to management IP(s) provided. (Edge node name <fqdn> resolved to but should have resolved to management IP <ip> ; Failed to resolve <ip>: {1} ;
NOTE: DNS IP 192.168.#.# referenced in the above logs is queried by SDDC manager during the validation phase and the naming resolution is not resolvable
VCF 4.x, 5.x
This can be caused due name resolution issue on the SDDC manager potentially caused by DNS server connectivity or incorrect DNS server configured
To resolve the issue, verify the DNS config on the SDDC-Manager:
/usr/bin/dig command and/or nslookup :
/usr/bin/dig <fqdn> or nslookup <fqdn> command: Example of a correct outputs :
root@SDDC_Mgr:nslookup <NSX_Mgr_fqdn>Server: <dns_server_name> Address: 192.168.#.#
Name: <NSX_Mgr_fqdn>Address: <NSX_Mgr_IP>
root@SDDC_Mgr:~# /usr/bin/dig nsx-mngr-01.#.#; <<>> DiG 9.18.28-0ubuntu0.22.04.1-Ubuntu <<>> nsx-mngr-01.#.#;; global options: +cmd;; Got answer:;; WARNING: .local is reserved for Multicast DNS;; You are currently testing what happens when an mDNS query is leaked to DNS;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15328;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4000;; QUESTION SECTION:;nsx-mngr-01.#.#. IN A
;; ANSWER SECTION:nsx-mngr-01.#.#. 3600 IN A 192.168.#.#
;; Query time: 0 msec;; SERVER: #.#.#.10#53(192.168.#.#) (UDP);; WHEN: #####;; MSG SIZE rcvd: 67
/usr/bin/dig -x <ip> or nslookup <ip> commandExample of a correct output:
root@SDDC_Mgr:nslookup <NSX_Mgr_IP>Server: <dns_server_name> Address: 192.168.#.#
Name: <NSX_Mgr_fqdn>Address: <NSX_Mgr_IP>
root@SDDC_Mgr:~# /usr/bin/dig -x 192.#.#.#; <<>> DiG 9.18.28-0ubuntu0.22.04.1-Ubuntu <<>> -x 192.#.#.#;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30823;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4000;; QUESTION SECTION:;10.#.#.#.in-addr.arpa. IN PTR
;; ANSWER SECTION:10.#.#.#.#. 3600 IN PTR controlcenter.#.#.
;; Query time: 4 msec;; SERVER: #.#.#.10#53(#.#.#.#) (UDP);; WHEN: #####;; MSG SIZE rcvd: 94
cat /etc/resolv.conf
In case of discrepancy between the DNS configuration found from the log snippets and what is being shown in the nslookup or dig command, update the DNS config on SDDC manager:
/etc/resolv.conf/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh