Guides › DNS Not Switching? How to Diagnose and Fix

DNS Not Switching? How to Diagnose and Fix

Updated: Oct 2026Building sites

The most common DNS headache: changed nameservers, same old site. The key is separating a config error from cache lag — the fixes differ.

Step 1: config or cache?

Bypass local resolution, get the IP from public DNS, then force that IP. If you see the new site, your config is fine — it's cache.

Example: curl --resolve yourdomain:443:CFIP https://yourdomain/

Step 2: compare resolvers

Step 3: flush caches

Step 4: still stale?

Switch your local DNS to public resolvers (8.8.8.8 / 1.1.1.1) to bypass the router cache. Most reliable fix.

Checklist

Why HTTP 200 can still be the old site

A key trap: parked pages also return HTTP 200, so “it opens” is not the same as “it is the new site”. Check actual page content, not just the status code.

Three commands, three layers

# 1) Local resolution (to see whether you have a local cache)
nslookup fusi.si

2) Public resolution (see whether it has propagated)
nslookup fusi.si 8.8.8.8

3) Connect straight to the new IP (check the content is right)
curl --resolve fusi.si:443:NEW_IP https://fusi.si/

Run these in order to tell "local cache" from "server config". If public DNS returns the new IP and direct-connect shows the new site, it is purely local cache.

Flushing per platform

The permanent fix

If it stays stale after flushing, the router is caching. Switch your adapter DNS to 8.8.8.8 / 1.1.1.1 (requires admin).

dns-layers.svg
Diagram · dns-layers.svg

Real case: the false not-live alarm

Three days after the NS switch, the site still showed a Hostinger parked page and looked like a failed deploy. Public DNS already returned the new Cloudflare IP and direct-connect showed the new site — it was purely local/router cache. Switching adapter DNS to 8.8.8.8 / 1.1.1.1 fixed it instantly.

Advertisement
Ad slot

Related tools