Introduction
When a new hostname works for one user and fails for another, write down the complete question, resolver and time. Two answers can both be consistent with DNS if one resolver still holds an earlier positive or negative response.
Read the question and response together
Record the fully qualified name, class and record type. An A question asks for IPv4 data. An AAAA question asks for IPv6. A name may have one family only. A search suffix can also expand a short label differently on two clients.
NXDOMAIN reports a name error. A successful NOERROR response can indicate no data of the requested type for an existing name. SERVFAIL indicates a resolution failure, which may arise from upstream problems or validation errors. A timeout means the observer received no complete answer within its deadline.
Trace the published authority in records
Use available parent-delegation records, nameserver inventories and authoritative response logs to establish which server should answer. Compare SOA serials and actual record sets across the intended authorities. Serial equality alone cannot guarantee identical content.
After changing DNS providers, check both the NS delegation and any parent-side DS record. A stale DS can make a new zone fail validation even when the new server publishes a plausible address answer. Existing resolver logs may include extended error details.
Reconstruct the cache timeline
A positive TTL sets a cache lifetime in seconds under ordinary caching. A negative answer can also be cached. For an authoritative NXDOMAIN or NODATA response carrying an SOA, its negative caching TTL comes from the lesser of the SOA record TTL and its MINIMUM field.
Start from the time a particular resolver cached the previous answer. Reducing a TTL in the zone cannot shorten that already cached entry. Application caches, split DNS views, resolver policy and stale-answer service can also affect the observed timeline.
Diagram
- Client question
- Resolver cache
- Parent referral
- Authoritative answer
Worked examples
Explain two answers during a record change
- At 09:00 a resolver caches an A record pointing to 192.0.2.20 with TTL 600. At 09:03 the authority changes it to 192.0.2.30.
- At 09:05 the first resolver can still return .20 with roughly 300 seconds remaining. A second resolver with an empty cache may already obtain .30.
- At 09:10 the first cached entry reaches ordinary expiry. If differing answers persist, compare the resolver view, authoritative server, record type and any stale-answer policy before modifying the zone.
DNS Record Reference: Read a two-stage mail-routing entry
- Read “example.org. 3600 IN MX 10 mail.example.org.” as an MX record for example.org. Its preference is 10, its target is mail.example.org., and 3600 seconds equals one hour.
- Read “mail.example.org. 300 IN A 192.0.2.25” as a separate IPv4 address record for the target. Its TTL is five minutes.
- If a second MX has preference 20, senders normally try the lower preference first. The target name and its address can be updated and cached on different schedules.
Reference table
| Result | Reading | Evidence to compare |
|---|---|---|
| NXDOMAIN | Name error | Spelling, search suffix and negative TTL |
| NOERROR, NODATA | Requested type absent | Other record types at the same name |
| SERVFAIL | Resolver could not finish | Validation or upstream error details |
| Old address | Earlier data still visible | Cache time, TTL and authority |
| Timeout | No timely response | Resolver and network event timestamps |
Configuration example
- For a planned address migration, reduce the TTL sufficiently ahead of the change for the earlier higher TTL to age out.
- Keep the old and new authoritative snapshots, parent delegation, DNSSEC state and change time together. Compare answers for exactly the same absolute name and record type.
Common mistakes
- Treating every empty answer section as NXDOMAIN. A referral also has a different interpretation.
- Repeatedly editing a correct authoritative record while clients are serving an earlier cached value.
Frequently asked questions
Why would creating a previously missing name take time to appear?
A resolver may have cached the earlier negative answer. Inspect its negative TTL and original lookup time as well as the newly published data.
Can two valid answers differ indefinitely?
Yes. Split DNS and location-dependent answers can deliberately vary by resolver or client context. Compare against the zone owner's intended view.
What does NXDOMAIN tell me?
It indicates that the queried name does not exist according to the response path. It differs from NODATA, where the name exists but the requested record type is absent.
Why can two resolvers return different records?
They may have different cache ages, query different authoritative paths, or observe a record change at different times. Compare the exact name, type, resolver, response code, timestamp, and TTL.
Does flushing a local cache change authoritative DNS?
No. It clears a cache on that device or resolver. It does not modify zone data or clear caches held by other recursive resolvers.
How long does DNS propagation take?
There is no single worldwide timer. Existing positive or negative cache entries can remain until their TTLs expire, and resolvers refresh at different times. Compare named resolvers rather than claiming universal propagation.
What is the difference between SERVFAIL and NXDOMAIN?
NXDOMAIN reports that the name does not exist. SERVFAIL means the resolver could not complete the query successfully, which can result from upstream, DNSSEC, or server problems.
Why should I query the authoritative server directly?
It can help distinguish published zone data from a recursive resolver's cached response. Direct queries still need the correct authority and may not reflect client-specific resolver behavior.
Can a low TTL remove all stale DNS answers immediately?
No. A lower TTL affects compliant cache duration after the record is observed. Older cached data, negative caching, and application caches may still influence what a client sees.
What is a CNAME chain?
It is a sequence of aliases followed by the eventual requested data. Long or broken chains can increase lookup work or produce resolution failures, so inspect each target and its records.
What does a DNS timeout mean?
It means no usable response arrived within the client's wait period. It does not by itself distinguish a network path problem, blocked query, unresponsive resolver, or delayed upstream lookup.
How does a resolver cache negative answers?
Resolvers can cache that a name or record type was absent for a duration derived from negative-caching rules and zone data. A newly added record may therefore not appear immediately.
What should be compared during a DNS propagation check?
Compare the exact owner name, record type, resolver, response status, answer data, TTL, and observation time. A sample of recursive resolvers cannot establish universal global state.
Can an incorrect parent delegation cause SERVFAIL?
Yes. Missing or inconsistent name-server delegation, unreachable authorities, or DNSSEC problems can prevent a recursive resolver from obtaining a valid answer.
Should I clear every cache when debugging DNS?
Start by identifying which cache is stale: application, operating system, local resolver, recursive service, or authoritative data. Clear only the relevant cache when authorized; flushing a client does not change zone data.

