User Agents

Web browsers and everyday web tech, explained

DNS Error Only in Edge? How to Fix It Fast

· 5 min read · How the Web Works

In this article
  1. The seven fixes that clear an Edge-only DNS error
  2. How to confirm which cause you actually have
  3. Why Edge gets DNS errors when nothing else does

If websites show a DNS error in Microsoft Edge but load fine in other browsers, the problem is almost always Edge's Secure DNS setting, a stale DNS cache inside Edge, or an extension. Start by turning off "Use secure DNS" in Edge's privacy settings, then clear the browser's cached data.

Time 10 min · Steps 7 · Level Easy

Quick fix: open Edge Settings > Privacy, search, and services, scroll to Security, and turn off "Use secure DNS – Use a secure DNS provider to look up website names". This one setting causes the majority of Edge-only DNS errors, because when it's on, Edge does its own DNS lookups instead of using the ones your operating system already resolves. Other browsers on the same computer usually don't do this, which is exactly why the error appears only in Edge. If that doesn't solve it, the next most likely causes are a corrupted DNS cache, a browser extension intercepting requests, or a misconfigured proxy inside Edge.

The seven fixes that clear an Edge-only DNS error

  1. Turn off secure DNS in Edge. Go to Settings > Privacy, search, and services, scroll to the Security section, and toggle off "Use secure DNS". Restart Edge and reload the page. Menu labels can differ slightly between versions.
  2. Flush the DNS cache in Windows. Right-click the Start button, choose Terminal (or Command Prompt), type ipconfig /flushdns and press Enter. This clears the resolver cache your whole computer shares, including the one Edge uses when secure DNS is off.
  3. Clear Edge's cached images and files. Press Ctrl+Shift+Delete in Edge, choose a time range of "All time", tick "Cached images and files" (you can leave cookies and passwords unticked), and click "Clear now".
  4. Test in an InPrivate window. Press Ctrl+Shift+N to open an InPrivate window and load the same site. If it works there, an extension is the culprit.
  5. Disable extensions one by one. Go to Settings > Extensions and toggle each one off, reloading the failing site after each. Ad blockers, VPN extensions and privacy tools are the usual suspects because they intercept and re-route DNS requests.
  6. Check Edge's proxy setting. Go to Settings > System and open your computer's proxy settings. Make sure no unexpected proxy is configured. A proxy that only Edge was set to use will produce DNS errors nowhere else.
  7. Reset or repair Edge. Windows Settings > Apps > Installed apps > Microsoft Edge > Modify, then choose "Repair". This reinstalls Edge without touching your favourites, passwords or history.

How to confirm which cause you actually have

Confirm the cause before changing more settings, because each fix points at a different layer. The fastest test is to try the failing site in another browser on the same computer, then in Edge's InPrivate window, then from another device on the same network. That gives you a clean picture in under 2 minutes.

SymptomLikely causeFix
DNS error in Edge, site loads in Chrome or FirefoxSecure DNS setting in EdgeTurn off "Use secure DNS" in Settings > Privacy, search, and services
Works in InPrivate but not in a normal windowExtensionDisable extensions one by one in Settings > Extensions
DNS error in every browser on one computerSystem DNS cache or network DNS serverRun ipconfig /flushdns; change the DNS server in Windows network settings
DNS error on every device on the networkRouter or internet provider DNSRestart the router; change its DNS servers to a public resolver
One specific site fails, everything else loadsThat site's own DNS recordsWait and retry; nothing is wrong on your end
Errors started after a VPN installVPN DNS or proxy settingsDisconnect the VPN, then check Edge's proxy settings

Why Edge gets DNS errors when nothing else does

Edge is one of the browsers that can perform DNS lookups itself rather than handing them to Windows. When "Use secure DNS" is enabled and the chosen provider is slow, blocked by your network, or returns errors, Edge shows a DNS failure page while every other program on the computer keeps working normally. Schools, offices and some home routers with content filtering are common places where an Edge secure DNS lookup gets blocked outright.

The second layer is caching. Windows keeps a DNS cache, and browsers keep their own on top of it. If Edge cached a bad result, it will keep serving the error even after the underlying problem is gone, which is why flushing both the system cache and Edge's cached files is worth doing even when the secure DNS toggle alone seems to fix things.

Should you switch your Windows DNS server too?

Only if the error appears in other browsers as well, or if it comes back after a few days. Changing the DNS server Windows uses is done in Settings > Network & internet > your connection > DNS server assignment, where you can enter a public resolver's addresses. If the error is strictly Edge-only, the system DNS server is working fine and changing it won't help - go back to the secure DNS toggle and the extension list instead.

What if the DNS error returns after a restart?

Recurring errors usually mean something is re-enabling the cause: a VPN or privacy extension that turns its own DNS back on at startup, or a network with content filtering that blocks Edge's secure DNS provider. Check Settings > Privacy, search, and services after each restart to see whether "Use secure DNS" has switched itself back on, and disable any VPN extension before ruling other causes out. If the toggle keeps reverting, the Edge repair step is the one that tends to settle it.

Official source: Microsoft Support