Troubleshooting

On one server, an application using the OS resolver gets an old IPv4 address for an exact hostname, although direct queries to its configured DNS server return the current address. Restarting the application and clearing the OS DNS cache do not change the result; what should the technician do next?

Show the answer

Correct answerB. Remove the stale local hosts-file mapping.

AWhy not this: The configured DNS server already returns the current address, so its address record does not need replacement.

BWhy this is right: A persistent hosts-file mapping explains why OS resolution differs from a correct direct DNS response.

CWhy not this: Direct queries to the configured DNS server return the correct result, providing no evidence of a wrong DHCP DNS option.

DWhy not this: Routes determine packet forwarding after resolution; they do not change the address returned for a hostname.

A stale hosts-file entry can override DNS for applications using the OS resolver and remains after cache clearing. Changing the DNS record is inappropriate because direct queries already return the current address.