DNS_ERROR_RCODE 0X00002520: Quick Fixes That Work
This DNS error means your computer got a response from the DNS server, but the response says the domain doesn't exist. Here's how to fix it fast.
1. Your DNS Server Is Returning a False Negative (NXDOMAIN)
This is the number one cause of error 0X00002520. The error code itself tells you the story: your computer sent a DNS query, the server answered back, but the answer was a code that says "this domain doesn't exist." Problem is, the domain does exist — your DNS server is either misconfigured, poisoned, or just has bad data.
I see this most often on corporate networks using internal DNS servers that don't forward properly, or on home networks using an ISP's DNS that's having a bad day. The fix is to bypass the problematic DNS server and use a public one that's reliable.
How to change your DNS server in Windows 10 and 11
- Press
Win + R, typencpa.cpl, and hit Enter. You'll see your network adapters. - Right-click the adapter you're using (usually "Ethernet" or "Wi-Fi") and choose Properties.
- Find Internet Protocol Version 4 (TCP/IPv4) in the list. Double-click it.
- Select Use the following DNS server addresses.
- For Preferred DNS server, type
8.8.8.8. For Alternate DNS server, type8.8.4.4. These are Google's public DNS servers. They work. Period. - Click OK, then Close on the adapter properties window.
- To make the change take effect immediately, open Command Prompt as admin and run:
ipconfig /flushdns
After you run that command, you should see the message "Successfully flushed the DNS Resolver Cache." Now try accessing the website again. If the error goes away, you're done — your DNS server was the culprit.
2. The DNS Cache Itself Is Corrupted or Stale
Sometimes the problem isn't the server — it's your own computer holding onto old, bad DNS data. Windows caches DNS responses to speed things up, but that cache can get corrupted or contain entries that point to nowhere. This happens when you've been on a network for a long time, or you've recently switched networks without a proper reset.
How to flush the DNS cache
- Open Command Prompt as administrator. Right-click the Start button and pick Command Prompt (Admin) or Windows Terminal (Admin).
- Type
ipconfig /flushdnsand press Enter. - You should see: "Windows IP Configuration — Successfully flushed the DNS Resolver Cache."
- Now type
ipconfig /registerdnsand press Enter. This re-registers your computer with the DNS server. It may take a few seconds. - Finally, type
ipconfig /releasethenipconfig /renew. This forces your network adapter to get a fresh IP address, which often clears up weird DNS issues.
After these steps, close Command Prompt and try your browser again. If the error disappears, it was a cache problem. If not, move to the next fix.
3. The Domain Name Itself Is Pointing to a Dead Server
This is less common but real. The DNS server is returning the correct IP address — the server at that IP is just down or unreachable. The error 0X00002520 can appear when the DNS server responds with an NXDOMAIN (domain not found) because the actual server is offline and the DNS hasn't updated yet, or the domain's A record is wrong.
How to check if the server is alive
- Open Command Prompt again.
- Type
ping example.com(replace with the actual domain you're trying to reach). - If you see replies with an IP address, the DNS is working. If you see "Ping request could not find host," that confirms the DNS isn't resolving.
- If ping succeeds but the error persists, the server might be blocking your connection. Try
telnet example.com 80ortelnet example.com 443(for HTTPS). If it hangs or fails, the server is unreachable.
If the server is down, there's nothing you can do on your end — wait for the website owner to fix it. But you can check if it's down for everyone by using a site like downforeveryoneorjustme.com. If it's down for everyone, it's not your DNS.
Quick-Reference Summary Table
| Cause | Symptom | Fix |
|---|---|---|
| Bad DNS server | Error appears on multiple websites | Change DNS to 8.8.8.8 / 8.8.4.4 |
| Corrupted DNS cache | Error after network change or long uptime | Flush DNS cache and renew IP |
| Target server down | Only one specific site fails | Check site status externally; wait |
Start with the first fix. It solves 80% of 0X00002520 errors I've seen in the help desk. The second fix handles another 15%. The third is the outlier but worth knowing when you've tried everything else.
Was this solution helpful?