Steps
- In the service environment run getent ahostsv4 example.com with the actual hostname, recording the time and all addresses.
- Read the hosts: line in /etc/nsswitch.conf and relevant /etc/hosts entries without changing them.
- If dig is already available, run dig @RESOLVER example.com A against an administrator-selected resolver. Align hostname, record type, and time before comparing unique IPv4 sets.
Interpretation
getent uses NSS, so its output is not a direct authoritative DNS query. ahostsv4 may repeat addresses for socket types; compare unique IPs rather than counting output lines.
Next steps and limits
Retain raw results and lookup configuration for investigation of local mappings, caches, or resolver paths. Treat empty results as unknown. Applications with their own resolvers may differ from system results.