Most tutorials stop at nslookup example.com. That gives you an A record and nothing else. In practice, DNS debugging is about reading the records you didn't ask for.

Start with the basics

nslookup example.com
nslookup -type=MX example.com
nslookup -type=TXT example.com
nslookup -type=NS example.com
nslookup -type=CNAME www.example.com

The output includes the responding server at the top. Check it. If it's your router (192.168.x.x) or an ISP resolver, you're not testing authoritative DNS — you're testing your local cache. For real debugging, query the authoritative nameserver directly:

nslookup example.com ns1.cloudflare.com

Reading the records that matter

A / AAAA — where the domain points. If it's 127.0.0.1 or 0.0.0.0, the site is either intentionally down or misconfigured. Common after a server move.

MX — mail servers, with priority. A missing MX record means email to that domain bounces immediately. If someone says "I'm not receiving emails from your site", check MX before checking your SMTP config.

TXT — the catch-all. SPF, DKIM, DMARC, verification tokens. Split every string on semicolons and you can usually diagnose a mail delivery problem in under a minute:

v=spf1 include:_spf.google.com ~all
v=DKIM1; k=rsa; p=MIIBIjANBgkq...

CNAME — an alias. If www is a CNAME to another domain, your TLS certificate and host headers need to handle both names. This is a frequent cause of "works on www, broken without".

NS — delegation. If you changed registrars but the NS still points at the old host, you'll edit DNS in one place and see no effect because queries are answered from the other.

When local and authoritative disagree

This is the debugging moment that saves hours. If your browser shows a stale IP and nslookup against the authoritative server shows the new one, the problem is caching, not DNS. Flush it:

ipconfig /flushdns          # Windows
sudo dscacheutil -flushcache # macOS
sudo resolvectl flush-caches # modern Linux

If it's still stale after flushing, the TTL is the culprit. A record cached with a 24-hour TTL will not update until that window expires, no matter how many times you change it. Before any migration, drop the TTL to 300 seconds at least a day in advance. This one habit prevents most "DNS not propagating" panic.

For checking propagation across regions, our DNS Lookup tool queries multiple resolvers in one pass, so you can see whether it's your local cache or genuinely incomplete propagation. Combine it with WHOIS Lookup to confirm the nameservers actually changed at the registry.