Windows DNS Server Cannot Resolve Internet Names: Root Hints, Cache.dns and EDNS0

Windows DNS server resolves internal names but not Internet names, or only some domains fail? Check forwarders, restore root hints or Cache.dns, and look for a firewall dropping EDNS0 UDP packets over 512 bytes.

Home › Guides › DNS server cannot resolve Internet names

Last updated 22 November 2026

Quick answer

If a Windows DNS server resolves your internal names but queries for Internet names fail, check three things in this order. 1. Forwarders: if the server forwards, a dead or slow forwarder gives Server failure; see DNS forwarders failing. 2. Root hints: the Cache.dns file that holds them may be missing or damaged (KB 816567); add root hints on the server's Root Hints tab, use Copy from Server, or restore Cache.dns from %SystemRoot%\System32\Dns\backup. 3. EDNS0 blocked by a firewall (KB 832223): only some domains fail because the firewall drops UDP DNS packets larger than 512 bytes. Fix the firewall, or as a workaround run dnscmd /config /enableednsprobes 0.

Which cause fits?

What you seeLikely causeFix
Internal names resolve, every Internet name fails; the server uses forwardersForwarder unreachable, slow, or refusing queriesTroubleshoot the forwarders
Internal names resolve, every Internet name fails; no forwarders, root hints empty or wrongCache.dns (root hints) missing or damagedAdd root hints in the DNS console or restore Cache.dns
Only some Internet domains fail; a capture shows queries with an OPT record (EDNS0) that get no replyA firewall drops EDNS0 UDP packets over 512 bytesUpdate the firewall; workaround dnscmd /config /enableednsprobes 0
Root hints you deleted come back after about 15 minutesBy design: the hints still exist in Cache.dns and Active DirectoryReplace root hints instead of deleting the last one

Root hints: what they do

Root hints are the list of Internet DNS servers your server uses for names it can't answer from its own zones or cache. A DNS server that isn't itself a root server needs at least one root hint: an NS record for a root server plus that server's host (A) record. Without them it can't reach a root server on startup and can't answer queries for names outside its authoritative zones. You can list the current hints with Get-DnsServerRootHint.

Fix: add or copy root hints

DNS server that isn't a domain controller: open the DNS console, right-click the server name, select Properties, open the Root Hints tab, select Add and enter the FQDN and IP address of a root server.

DNS server on a domain controller: on the same Root Hints tab, either Add a root server, or select Copy from Server and enter the IP address of another DNS server whose root hints you want to copy. Copied hints don't overwrite the ones already there.

The root servers in Microsoft's article (as listed by Network Solutions):

a.root-servers.net. 198.41.0.4
b.root-servers.net. 199.9.14.201
c.root-servers.net. 192.33.4.12
d.root-servers.net. 199.7.91.13
e.root-servers.net. 192.203.230.10
f.root-servers.net. 192.5.5.241
g.root-servers.net. 192.112.36.4
h.root-servers.net. 198.97.190.53
i.root-servers.net. 192.36.148.17
j.root-servers.net. 192.58.128.30
k.root-servers.net. 193.0.14.129
l.root-servers.net. 199.7.83.42
m.root-servers.net. 202.12.27.33

Fix: restore Cache.dns from the backup copy

Windows keeps a backup copy of the root hints file. From an elevated command prompt:

net stop dns
cd %systemroot%\System32\Dns
ren cache.dns cache.old
copy backup\cache.dns
net start dns

Microsoft's article spells the folder Sytem32 in its sample; the real folder is System32. You can also replace the file with the original version of Cache.dns.

Root hints that come back after you delete them

If you delete the last root hint with DNS Manager or dnscmd, one or more of the deleted hints can reappear after about 15 minutes, without any warning (KB 818020). This is by design: the hints also live in the CACHE.DNS file and in Active Directory, and they come back from there. Microsoft doesn't support a DNS server with no root hints at all; it must have at least one. What you can do:

Only some domains fail: EDNS0 and the firewall

Windows DNS servers use EDNS0 (Extension Mechanisms for DNS), which allows UDP DNS packets larger than 512 bytes. Some firewalls don't allow UDP packets over 512 bytes, or check DNS packets and expect responses under 512 bytes, so queries to some domains fail after you deploy a Windows DNS server (KB 832223). In a network capture of a failing lookup, the request carries an additional record like this and gets no reply:

Additional records
  <Root>: type OPT, class unknown
  Name: <Root>
  Type: EDNS0 option
  UDP payload size: 1280

Resolution: update the firewall so it recognizes and allows UDP packets larger than 512 bytes (ask the firewall vendor how). Workaround: turn off EDNS0 on the Windows DNS server:

dnscmd /config /enableednsprobes 0

That's a zero, not the letter O. The server answers "Registry property enableednsprobes successfully reset. Command completed successfully."

Still failing?

If clients wait a long time before failing, the problem may be on the client side: see DNS client timeouts with multiple DNS servers. For DNSSEC-signed names that return SERVFAIL, see DNSSEC SERVFAIL and broken chains. You can compare answers from public resolvers with the DNS Lookup tool.

Related tools and guides

Look up DNS Server events such as 4013 and 7062 in the Windows Event ID Lookup, copy the Get-DnsServerRootHint and dnscmd lines from the PowerShell Cheat Sheet, pull the root server names and addresses out of Cache.dns with the Regex Tester, check the root server and forwarder addresses with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the vendor of the firewall that drops DNS packets with the MAC Vendor Lookup. Related guides: DNS forwarders failing, DNS client timeouts with multiple DNS servers, DNSSEC SERVFAIL and broken chains and common Windows DNS Server and DHCP Server errors.

Recursion turned off after a cache snooping finding? See DNS server cache snooping and disabling recursion.

Every Windows DNS Server and DHCP Server event and symptom in one place: common Windows DNS Server and DHCP Server errors.

FAQ

Why does my DNS server resolve local names but not Internet names?

Local names come from its own zones. Internet names need working forwarders or root hints. If the Cache.dns file with the root hints is missing or damaged and there are no working forwarders, Internet queries fail.

How do I restore root hints on a Windows DNS server?

Add root servers on the Root Hints tab of the server properties, use Copy from Server on a domain controller, or stop the DNS service, rename Cache.dns and copy the backup Cache.dns from the backup folder, then start the service.

Why do deleted root hints come back?

By design. If you delete the last root hint, the hints still exist in the Cache.dns file and Active Directory and reappear after about 15 minutes. Replace root hints instead; a DNS server must have at least one.

Why do only some domains fail to resolve?

A firewall may drop EDNS0 UDP DNS packets larger than 512 bytes. Update the firewall to allow them, or as a workaround run dnscmd /config /enableednsprobes 0 on the DNS server.

How do I stop a forwarding DNS server from using root hints?

Select Do not use recursion for this domain on the Forwarders tab of the DNS server properties.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.