Alarm Example #1: DNS lookup failed for Manager node <uuid> with FQDN <fqdn>.
Alarm Example #2: Reverse DNS lookup failed for Manager node <uuid> with IP address <ip-address>.
nslookup <fqdn> generates correct output but dig fails while the output of dig <fqdn> and dig -x <ip> may not contain "Answer".Generally, DNS resolution failure issues typically occur due to one the following reasons:
/usr/bin/dig <fqdn> command, and verify the output in the "Answer" section is correct:
root@edge01:~# /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.#.#.#
;; Query time: 0 msec
;; SERVER: #.#.#.10#53(192.#.#.#) (UDP)
;; WHEN: Thu Feb 20 14:44:32 UTC 2025
;; MSG SIZE rcvd: 67
/usr/bin/dig -x <IP-Address> command, and verify the output in the "Answer" section is correct:
root@edge01:~# /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: Thu Feb 20 15:02:32 UTC 2025
;; MSG SIZE rcvd: 94