Why does a hostname work in a browser but not in a command-line tool?
Compare the exact name, resolver and error in both applications. A browser can use DNS over HTTPS, while a command-line lookup can query the operating system’s configured DNS service. RFC 8484 defines that separate HTTPS-based DNS path; Microsoft also notes that nslookup does not use the Windows client’s DNS cache.
Separate resolution from connection failures
Use the same fully qualified hostname and compare the actual A or AAAA results. Then test the website’s HTTP or TLS connection independently. Record which stage differs before changing authoritative records, because a DNS answer and a successful application connection are separate evidence.
Your Next Steps
- 01
Use the identical full hostname.
- 02
Identify each resolver and cached path.
- 03
Compare A and AAAA answers.
- 04
Compare the actual connection error.
Separate resolution from connection failures
Use the same fully qualified hostname and compare the actual A or AAAA results. Then test the website’s HTTP or TLS connection independently. Record which stage differs before changing authoritative records, because a DNS answer and a successful application connection are separate evidence.
| Check | Why it matters |
|---|---|
| Verified detail | DoH resolver transport. |
| Your next step | Compare the actual connection error. |
Go a little deeper
Continue with these NameSilo articles selected for this question.
Sources & Useful Links
Published 2026-11-18. Last updated 2026-11-19.
Ready for your next idea?
See if the domain you have in mind is available.