Why is one user's URL resolving to the wrong IP?
Short answer
A Hosts file
Question
Key Takeaways
The question tests your ability to isolate DNS resolution failures: a single-user IP mismatch points to a local hosts file override, not to public DNS records like nameserver entries.
When a single user cannot resolve a URL to the correct IP while others can, the most likely cause is a local Hosts file override. This CompTIA Network+ question distinguishes client-side resolution issues from global DNS record problems.
Common mistake: Choosing C (Nameserver record) because it appears DNS-related; however, NS record misconfiguration would affect all users, not just one individual, making it less likely than a local hosts file entry.
Expert Analysis
Why the Answer Is Correct
The correct answer is A, Hosts file. The hosts file is a local text file that maps hostnames to IP addresses and takes precedence over DNS resolution. If a user's hosts file contains a stale or incorrect entry for the URL, their system will use that IP instead of querying the DNS server, causing the issue only for that user.
Other users are able to access the website, which proves that the domain's DNS infrastructure (including nameserver records) is functioning globally. The problem is isolated to the user's local environment, making a local override the most plausible cause. Comment [1] points out that a hosts file can be manually configured to override DNS and cause this exact symptom.
Why the Other Options Are Wrong
B, Self-signed certificate, would cause a certificate warning or trust error, not a failure to resolve the URL to the correct IP address. Certificate issues do not affect IP resolution.
C, Nameserver record, would affect all users trying to resolve the domain, not a single user. As comment [3] notes, an NS issue would be a problem for everyone, so it is unlikely when only one user is affected.
D, IP helper, is a network service used for DHCP relay or other forwarding; it has no role in client-side hostname-to-IP resolution for a web URL.
Community Comment Notes
Comments overwhelmingly favor A, with 63 votes versus 38 for C. Comment [1] provides a clear explanation that the problem is specific to one user's environment, and a hosts file override would cause exactly this issue. Comment [3] highlights the key distinction: an NS issue affects everyone, not just one individual. Comment [4] incorrectly argues for C by describing NS records generally, but it misses the single-user isolation clue in the question.
Official Reference
https://en.wikipedia.org/wiki/Hosts_(file)
This link opens the official vendor documentation in a new tab.
Exam Strategy
Look for the scope of the problem: 'other users are able to navigate' strongly indicates a client-only issue. Always associate local DNS overrides with the hosts file, and remember that global DNS record problems would not be limited to one user.
Community Votes
62% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 7 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 7
-
YorkieTeaTime 👍 11The answer is A. Hosts file If the other users weren't able to access the site, you could argue it's C. But the problem is specific to this user's environment. Host files can be manually configured to override DNS resolution and if it contains an old entry for that URL, then the user won't be able to access the site because the URL is mapping to incorrect IP address.
-
12883fd 👍 1 Answered CNS records play a crucial role in the DNS hierarchy by delegating authority for a domain to specific name servers. They are typically configured by the domain's registrar or hosting provider and are publicly available in the domain's DNS zone file. Incorrect or misconfigured NS records can result in DNS resolution failures and prevent users from accessing a website.
-
21bc1a0 👍 1 Answered CKeyword: provided Url is not resolving to the correct IP address
-
ETQ 👍 1 Answered ADefinitely A, an NS issue would be a problem for everyone.
-
YorkieTeaTime 👍 2 Answered AIt's A. Hosts file
Show 2 more comments
-
arokace1 👍 2 Answered AA is the answer
-
f534052 👍 1 Answered CMust be DNS issue
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.