"DNS server not responding" means your device asked its DNS server to translate a name into an IP address and got no reply. Run nslookup example.com 1.1.1.1: if that works but plain nslookup example.com times out, your usual DNS server is the problem, and switching to a public one or restarting your router fixes it.
The exact wording differs between Windows, browsers and routers. The tests below work whatever message you see, and they sort the cause into three places: the DNS server, the path to it, or your computer's settings.
What the error means
A DNS query is a small request sent, by default, to port 53 on the server your device is configured to use (RFC 1035 specifies UDP and TCP on that port). "Not responding" means no answer arrived before the timeout. That differs from a server that answers with a failure. Microsoft's nslookup reference lists these as separate results:
| nslookup result | Microsoft's description | What it points to |
|---|---|---|
timed out | The server didn't respond to a request after a certain amount of time and a certain number of retries. | Server down, unreachable, or blocked |
No response from server | No DNS name server is running on the server computer. | Wrong address, or nothing listening there |
Server failure | The server found an internal inconsistency in its database and couldn't return a valid answer. | A reachable but broken server |
Refused | The server refused to service the request. | Policy on the server, for example it only serves its own network |
Nonexistent domain | The computer or DNS domain name doesn't exist. | Not a "not responding" problem: the name is wrong |
The last row matters. If you see "Nonexistent domain", the server is working, and you should check the spelling of the name instead.
Step 1: Find out which server you are asking
On Windows, in Command Prompt or PowerShell:
ipconfig /all
Find the DNS Servers line under the adapter you use (Wi-Fi or Ethernet). Example output:
DNS Servers . . . . . . . . . . . : 192.168.1.1
A private address like 192.168.1.1 means your computer asks your router, which forwards the query to your provider's resolver. A public address means you set a resolver by hand, or your provider's DHCP handed one out. Note the address. The next step tests it.
Step 2: Test the server and a public one
The second argument of nslookup picks the server to ask, so you can compare two servers with the same name:
nslookup example.com 192.168.1.1
nslookup example.com 1.1.1.1
Replace 192.168.1.1 with the address from step 1. A timeout looks like this (example output, Windows):
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed out
PowerShell can do the same with Resolve-DnsName, whose -Server parameter sets the server to query and -DnsOnly restricts the lookup to the DNS protocol:
Resolve-DnsName example.com -Server 1.1.1.1 -DnsOnly
| Your server | 1.1.1.1 | Likely cause |
|---|---|---|
| Times out | Answers | Your router or provider's resolver is down or stuck. Go to step 3. |
| Times out | Times out | No DNS traffic is getting out: connection down, firewall, VPN, or adapter problem. Go to step 4. |
| Answers | Answers | DNS works. The fault is a browser setting, cache or hosts file. Go to step 5. |
If a public resolver also times out, try its second address (1.0.0.1 for Cloudflare, 8.8.4.4 for Google) before concluding the connection is down.
Step 3: Restart the router, or bypass its DNS
Home routers usually run a small DNS forwarder, and it can hang while the connection itself is fine. Power the router off for about 30 seconds, then on, and wait until it has reconnected. That clears its forwarder and its cache.
If the router keeps failing, stop depending on it for DNS. Setting a public DNS server on the computer sends queries straight to that server. The steps are in how to change your DNS server on Windows. You can also set the DNS servers in the router's admin page, which then applies to every device that takes its settings from it. The menu names vary by router brand, so look for a "DNS" or "Internet" settings page.
Step 4: If no DNS server answers
- Check the connection first. If you cannot reach a site by its IP address either, the problem is not DNS. In that case reconnect to the Wi-Fi network or replug the cable.
- Disconnect the VPN. A VPN client typically sets its own DNS servers while connected, and a half-working tunnel leaves them unreachable.
- Try another device on the same network. A phone that resolves names fine while your computer times out points at your computer's settings, security software or adapter.
- Check firewall or security software. Anything that blocks outbound port 53 stops ordinary DNS. Disabling protection is not a good test; use the software's own log or temporarily exit a filtering add-on you installed yourself.
- Look for a typo in a manual DNS setting. One wrong digit in a hand-entered address produces a permanent timeout. Return the adapter to automatic (DHCP) and test again. The reset command is in the change-DNS article linked above.
Step 5: Renew the lease and clear the cache
If DNS works when you query the server directly but apps still fail, refresh the settings your computer holds. In an administrator Command Prompt:
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Microsoft's ipconfig reference says /release sends a DHCPRELEASE message and discards the IP configuration for adapters that obtain an address automatically, and it disables TCP/IP on them until you renew. Run /renew straight after, as shown. /renew renews the DHCP configuration, which is also how the computer learns the DNS servers the router hands out. /flushdns discards the resolver cache, including negative entries. More on that, and the macOS and Linux equivalents, in how to flush the DNS cache.
If one program fails while others work, check that program's own DNS settings. Browsers can be set to use their own DNS over HTTPS provider instead of the system's server; see DNS over HTTPS explained. A stray entry in the hosts file also overrides DNS for a single name: how to edit the hosts file.
If it still fails
Run the two nslookup commands from step 2 once more and use the table to place the fault. If every resolver times out on every device, the internet connection is down, and the next call is to your provider, not to DNS settings. If only one resolver times out, leave it out of your settings for now and use another. To see why a query goes from your computer to a recursive resolver and on to authoritative servers, read how DNS works.
Frequently asked questions
- What does "DNS server not responding" mean?
- Your device sent a DNS query to its configured server and got no usable reply. The server may be down, unreachable, overloaded, or set to the wrong address. It is different from a "Non-existent domain" answer, which means the server replied and said the name does not exist.
- Is "DNS server not responding" a problem with my internet provider?
- Sometimes. If nslookup to a public resolver such as 1.1.1.1 works but your router's address times out, the fault is in the router or the provider's resolver. If both time out while a phone on the same Wi-Fi works, the fault is on your computer. If every device fails against every resolver, the connection itself is down.
- Will changing my DNS server to 8.8.8.8 or 1.1.1.1 fix it?
- It fixes the case where your usual resolver is the one that is down or slow, because lookups then go to a different server. It does nothing if the problem is a broken connection, a firewall blocking port 53, or a VPN that overrides DNS.
- Does flushing the DNS cache fix a non-responding DNS server?
- No. Flushing clears answers your computer already stored, including stale negative ones. It does not make an unreachable server reachable. Use it after you have restored a working server, so old failures do not linger.
- Why do some sites load while others show the error?
- Sites you visited recently may be answered from a local cache, so no query is sent. A site you have not visited needs a fresh query, which fails if the server is not answering. That pattern points to DNS, not to the websites.