When you are navigating in the Inventory Groups using the NSX-T UI and checking the Groups configuration, you experience these symptoms:
In NSX Local Manager's /var/log/nvpapi/api_access.log, we can see the invocation takes long time.
api_access.log.1.gz: INFO user@domain 'GET /api/v1/sites?version=latest' 200 39356 "https://NSX-T_FQDN/remote/<UUID>/nsx/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" 85.356220
NSX-T 3.X
NSX 4.X
NSX Federation
The delay is happening on DNA resolution, nvapi code adds additional logic to fetch FQDN from the IP address.
For Example:
cat etc/resolv.conf
nameserver 10.12.25.3
nameserver 10.25.12.3
dig @10.12.25.3 -x <IP_NSX-T_nodes
>
dig @10.12.25.3 -x <FQDN_NSX-T_nodes>
dig @10.25.12.3 -x <IP_NSX-T_nodes>
dig @10.25.12.3 -x <FQDN_NSX-T_nodes>
With verbose enabled
dig @10.12.25.3 -x <IP_NSX-T_nodes> +trace
dig @10.12.25.3 -x <FQDN_NSX-T_nodes> +trace
dig @10.25.12.3 -x <IP_NSX-T_nodes> +trace
dig @10.25.12.3 -x <FQDN_NSX-T_nodes> +trace
How to change DNS server from NSX-T Manager command line (admin)
get name-servers
set name-servers DNS-SERVER_IP
del name-servers DNS-SERVER_IP