1. Record the symptom and the exact DNS question
DNS errors and application errors are not interchangeable. Before touching a zone, note the client IP/network, VPN/proxy state, queried FQDN, record type (A, AAAA, MX, CNAME, etc.), resolver address, time and timezone. Capture the exact response class: NXDOMAIN (name not found), NOERROR without a record of the requested type (often called NODATA), SERVFAIL, timeout, unexpected answer, or an apparently correct address followed by failed HTTPS. An HTTP 500 is not itself a DNS failure. Preserve known-good answers, last approved DNS change and business impact. Do not paste internal hostnames or credentials into external diagnostic sites without authorization.
A minimal incident note should contain: QNAME=app.example.com, QTYPE=A, resolver address, two timestamps and the expected authoritative answer. Do not assume every resolver should return the same value: split-horizon DNS, geolocation and policy can legitimately change an answer.
2. Compare the actual client resolver with a second authorized resolver
Windows PowerShell:
Resolve-DnsName -Name example.com -Type A -DnsOnly ; Resolve-DnsName -Name example.com -Type AAAA -DnsOnly ; Resolve-DnsName -Name example.com -Type A -Server 1.1.1.1 -DnsOnlyLinux/macOS with dig available:
dig example.com A ; dig example.com AAAA ; dig @1.1.1.1 example.com ARecord status, answer, TTL and which resolver you queried. A difference may indicate cached data, a split view, a VPN resolver or forwarding policy—not necessarily a wrong authoritative zone. Public resolvers may be blocked or inappropriate within corporate networks; use an owner-approved resolver and do not bypass network restrictions. A NOERROR response with no A answer does not prove the name is nonexistent: the name may have AAAA or other records.
3. Verify delegation and query the authoritative source
The registrar/parent delegation selects authoritative nameservers. A record changed in an unused DNS provider dashboard may never be served to the Internet. Compare the parent delegation with the active authoritative servers, then query them directly.
dig example.com NS ; dig +trace example.com NS ; dig @<authoritative-nameserver> example.com SOA +norecurse ; dig @<authoritative-nameserver> app.example.com A +norecurseReplace <authoritative-nameserver> with a verified server from the delegation chain; the literal angle-bracket text is a placeholder, not executable syntax. Evaluate the SOA, response flags and expected record, and note if trace was incomplete due to network policy. Do not modify registrar nameservers until the full target zone, DNSSEC and rollback are proven. Export existing A/AAAA/CNAME/MX/TXT/CAA/SRV records and third-party verification entries before migration.
4. Understand positive and negative caching
An already cached A record can remain until its existing TTL expires. Lowering TTL now does not retroactively flush a resolver that cached a longer TTL earlier. A nonexistent name or missing type may be cached too. RFC 2308 describes negative caching with the authoritative SOA record; the negative cache lifetime relates to SOA TTL and MINIMUM, not just the TTL of a newly added A record. Be careful distinguishing NXDOMAIN from NODATA and avoid treating all propagation as one global timer.
Flushing the Windows local DNS cache may change one client's view; it does not flush recursive resolvers worldwide. Before flushing anything, capture the before/after answers, TTLs and resolver identity. If a recursive resolver differs from authoritative data, investigate its cache and forwarding behavior rather than editing the zone repeatedly.
5. Treat SERVFAIL and DNSSEC as a separate branch
A SERVFAIL response can come from upstream reachability, a misconfigured forwarder or DNSSEC validation failure. Check whether the authoritative server responds and whether parent DS, child DNSKEY and signatures are consistent after a migration or rollover. If a validating resolver fails but an authoritative query returns an answer, investigate the DNSSEC chain—but do not remove DS records simply to force resolution. A production key or delegation correction is a controlled change with rollback, not an ordinary diagnostic command.
Escalation checklist: (1) record the validating resolver and failure, (2) confirm authoritative NS/SOA answers, (3) inspect DS and DNSKEY using approved tooling, (4) compare with the previous change/rollover log, (5) agree the smallest correction with the domain owner and retest.
6. Separate DNS, TCP, TLS, HTTP and access policy
Once A/AAAA answers resolve as expected, continue up the stack.
Windows:
Test-NetConnection example.com -Port 443Linux/macOS:
curl -I --connect-timeout 5 https://example.com/A curl -I response may be 405 if the application does not implement HEAD, even when GET works. An HTTP 302 to an access login portal or a Cloudflare 403 can indicate a deliberate authorization/WAF policy and does not prove DNS is broken. Distinguish TCP failure, TLS SNI/hostname validation problems, redirects, application exceptions and access controls. Never disable certificate validation to manufacture a PASS.
7. Use an evidence-driven decision table
| Observation | Next investigation | Avoid |
|---|---|---|
| NXDOMAIN from every checked resolver | Compare name existence, parent NS and authoritative zone | Repeated TTL changes without records. |
| Local answer differs from authoritative | Cache, VPN/split DNS, forwarding | Blindly changing registrar NS. |
| NOERROR but no A answer | Record type, CNAME chain, intended IPv4 | Reporting NXDOMAIN. |
| SERVFAIL on a validating resolver | DNSSEC, DS/DNSKEY and upstream reachability | Removing DS without change approval. |
| Correct A record but no TCP 443 | Routing, firewall, listener, egress | Editing DNS records. |
| HTTPS 302 or 403 after DNS succeeds | Access policy, auth, WAF | Treating it as DNS outage. |
| HTTPS certificate name mismatch | Endpoint, SNI, proxy, certificate deployment | Bypassing TLS verification. |
8. Verify recovery and protect rollback
Every correction needs the original answer/zone export, named owner, change window, precise action, expected outcome, rollback trigger and representative client tests. Check at least the authoritative server and a client on each affected network. Preserve timestamps and distinguish an observed recovery from a dashboard status. A complete incident closure means the intended user action works again with correct access policy—not merely that a DNS query returned an IP address.
Worked decision: split-horizon DNS or stale cache? (synthetic exercise)
SYNTHETIC EXERCISE, NOT OBSERVED TRAFFIC: A laptop on an authorized VPN queries app.example.com type A through a corporate resolver at 10.20.0.53 and receives 10.10.20.15 with TTL 45 seconds. The same name queried through a public recursive resolver returns 198.51.100.22 with remaining TTL 260 seconds; a direct query to the independently verified authoritative nameserver returns 198.51.100.22 with TTL 300 seconds. Those are hypothetical outputs, not claims about a real production zone. The public IP belongs to the RFC 5737 TEST-NET-2 documentation range and must not be used as a real destination.
INTERPRETATION: The client-specific internal answer may be an intentional split-horizon policy, so the difference alone does not justify changing public authoritative DNS. The decreasing recursive TTL is compatible with caching; it is not proof of a stale record, and a single snapshot does not establish when a resolver populated its cache. First identify which DNS view the affected application is supposed to use, the actual resolver configuration and whether the observed authoritative answer belongs to the intended zone.
REPRODUCE SAFELY ON A DOMAIN YOU OWN: On Windows run Resolve-DnsName -Name YOUR_APPROVED_FQDN -Type A -DnsOnly; repeat with -Server YOUR_AUTHORIZED_DNS_SERVER. Where dig is approved, compare dig @YOUR_RECURSOR YOUR_FQDN A and dig @YOUR_VERIFIED_AUTH_SERVER YOUR_FQDN A +norecurse. Record timestamp, response flags, answer, TTL and resolver identity. The placeholder tokens are not executable literal hostnames. Never query or change an unrelated domain as part of this exercise.
- Expected branch A: internal versus public answers differ by approved split DNS policy; resolution is correct in each view, so document the intended network/VPN path rather than flushing caches.
- Expected branch B: the verified authoritative answer changed but a recursive resolver still returns a previous answer within its existing TTL; wait or use owner-approved cache controls, then re-query the same resolvers.
- Negative check: if the authoritative nameserver itself returns an unexpected value, investigate delegation or zone content before blaming client caching.
- Evidence record: QNAME/QTYPE, source host and VPN state, timestamp, resolver address, authoritative NS identity, TTL, response flags, expected application behavior, decision owner and rollback trigger.
Related guides
Primary sources & further reading
- RFC 1034, DNS concepts, domains and delegation ↗
- RFC 1035, DNS records and queries ↗
- RFC 2308, NXDOMAIN/NODATA negative caching and SOA ↗
- Microsoft Resolve-DnsName ↗
- ISC BIND 9 documentation (dig details depend on installed version) ↗
- RFC 5737 - IPv4 address blocks reserved for documentation ↗
Sources are credited for verification, not reproduced. Linked pages may change after publication.