Follow these steps on the Windows 11 PC to isolate and fix the “No internet access / can’t reach DNS server” issue, especially since nslookup works but browsers do not:
- Renew IP configuration
- Open Command Prompt as Administrator (Search → type
Command Prompt→ Run as administrator → Yes). - Run:
ipconfig /release ipconfig /renew - Test browsing again.
- Open Command Prompt as Administrator (Search → type
- Flush DNS cache
- In the same elevated Command Prompt, run:
ipconfig /flushdns - Test browsing again.
- In the same elevated Command Prompt, run:
- Reset Winsock and TCP/IP stack
- In elevated Command Prompt, run these commands in order:
netsh winsock reset netsh int ip reset ipconfig /release ipconfig /renew ipconfig /flushdns - Restart the PC and test.
- In elevated Command Prompt, run these commands in order:
- Check for proxy settings
- Open Settings → Network & Internet → Proxy.
- Turn off any Manual proxy setup entries.
- If using any VPN or security software with web filtering, temporarily disable it and test.
- Verify IP address and DNS
- In elevated Command Prompt, run:
ipconfig /all - Ensure the IPv4 address is not in the
169.254.x.xrange. If it is, the PC is not getting a valid IP; check DHCP on the router as described in the Wi‑Fi limited connectivity section. - Confirm that a DNS Servers entry is present and reachable:
ipconfig /all | findstr /c:"DNS Servers" ping <DNS-server-IP> - If the DNS server cannot be pinged even with a valid IP, change DNS to a different server as described under Change TCP/IP settings in the referenced article and test again.
- In elevated Command Prompt, run:
- Use Network Reset (last resort before reinstall)
Network reset removes and reinstalls all network adapters and resets their settings to defaults. This often fixes post‑upgrade issues where the PC can see the local network but not the internet.
- Select Start → type settings → open Settings → Network & internet.
- On Windows 11, select Advanced network settings → Network reset.
- Select Reset now → Yes to confirm.
- The PC will restart; test connectivity afterward.
- After network reset, VPN clients and virtual switches (Hyper‑V or other virtualization tools) may need to be reinstalled or reconfigured.
- Known networks may be set to Public profile; if needed, change to Private via the network settings.
If, after these steps, nslookup and ping both work but browsers still cannot reach sites, focus on:
- Disabling or uninstalling third‑party antivirus/firewall or web‑filtering software temporarily (similar to the case where antivirus blocked downloads).
- Ensuring no VPN or proxy is intercepting HTTP/HTTPS traffic.
These steps target exactly the scenario where Windows reports “No Internet” or “Can’t reach DNS server” while basic IP and DNS resolution appear to work.
References: