What the message looks like
Webseiten laden nicht, obwohl das WLAN verbunden ist; ping 8.8.8.8 geht, aber nslookup example.com scheitert.Common causes
- The provider's DNS server or the router's DNS service is faulty or overloaded.
- A wrong or outdated DNS entry is set in the router or on your computer.
- A filter or ad blocker in the network blocks the name you want to open.
- A cached (old) entry returns a wrong address.
Check
- Does a plain address work? If yes, DNS is the likely cause (Windows:
ping -n 4 …)ping -c 4 8.8.8.8 - Does the router's DNS answer?
nslookup example.com - Does another DNS server (Google 8.8.8.8) answer?
nslookup example.com 8.8.8.8 - Windows: clear the DNS cache
ipconfig /flushdns
Fix
- Run the tests above. If
nslookup example.com 8.8.8.8works butnslookup example.comdoes not, your current DNS server is the problem. - The best place to change it is the router: in its menu under home network or internet, enter the DNS server, and it applies to every device. Alternatively change it on a single PC in the network settings.
- Well-known public DNS servers are Cloudflare 1.1.1.1, Google 8.8.8.8 and Quad9 9.9.9.9. Enter one as preferred and a second as alternate.
- Mind your privacy: the DNS provider you pick can see which names you look up. Read its privacy policy and decide on purpose.
- Then clear the cache (
ipconfig /flushdnson Windows) and verify withnslookup example.com. - If all works again, you may report the fault to your provider or keep the new DNS server.
Typical scenario
Websites load sluggishly or not at all although ping 8.8.8.8 answers instantly and the line is up. Much then points to the provider's DNS server. As a test, enter a different DNS server, either only on the affected computer or, if all devices are affected, in the router. Afterwards check with nslookup example.com which server is named in the answer.
FAQ
Is a public DNS server faster or safer?
Not automatically. Sometimes it answers faster, sometimes not, and you hand your lookups to another operator. Switch mainly when your current server is causing trouble.
Will this make my connection slower?
It only changes name lookup, not the line. The download itself does not get faster or slower because of it.
Should I change DNS on the router or the PC?
On the router the change applies to all devices in the network, on the PC only to that computer. If only one device has problems, change it there. If everything is affected, the router is the better place because you need not touch anything else.
How many DNS servers can I enter?
A preferred and an alternate server are usual. For the second, use a different provider if possible, so an independent substitute is ready if the first fails. More than two rarely bring an advantage in daily use.
How do I see whether the change works?
Flush the cache with ipconfig /flushdns and then query with nslookup example.com. The output names the server used at the top. If it still shows the old address, the device has not yet picked up the new setting.