Windows 11 Can Ping IP Addresses but Cannot Resolve Hostnames
Asked by
Umlaut
My Windows 11 desktop has suddenly stopped resolving domain names. I can ping public IP addresses, but hostnames fail, and I cannot load any websites. The problem happens over both Ethernet and a phone hotspot, so it does not appear to be limited to my ISP or router. I also tested a different network adapter and attempted a Windows repair from USB, but neither helped. Running pktmon shows packets being "absorbed" by component 103 at location 0xE0004170. I have tried changing DNS servers to Cloudflare and Google, and nslookup times out even when I specify a DNS server directly. Has anyone seen this behavior or found a way to repair it without wiping the machine and risking my data?
Answers
Changing DNS to 1.1.1.1 or 8.8.8.8 will not help if DNS packets are being blocked before they leave the machine. Check whether the router can resolve names independently, and compare the configured DNS server, default gateway, and nslookup results. If the router works but this PC times out on every network, focus on VPN, firewall, or filter-driver software rather than the ISP.
Reply to this answer
Since the issue follows the computer across Ethernet and a phone hotspot, test whether Windows itself is the problem. Boot from a Linux USB drive and try browsing or running DNS lookups there. If networking works in Linux, the hardware and networks are probably fine and the Windows network stack or a filter driver is likely damaged.
Reply to this answer
Inspect the Windows hosts file as well as the adapter and firewall settings. The hosts file is located at C:WindowsSystem32driversetchosts; unusual entries could override normal DNS resolution. Also reinstall the network adapter drivers and temporarily test with the firewall and other security software disabled, then turn protection back on afterward.
Reply to this answer
Check for software that can intercept or block network traffic, especially VPN clients, third-party antivirus, firewalls, ad blockers, or network-filtering tools. A VPN kill switch can behave as though all traffic is being dropped even when the VPN is disconnected. Temporarily disable or uninstall anything installed around the time the problem began, then restart the computer.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions