Introduction
Choose a DNS symptom and follow a specific configuration check with a defined next step. TTL controls ordinary cache reuse. It does not synchronize authoritative servers. Check each authoritative zone copy and its update process when the authorities disagree.
Method and concepts
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.
- Select an entry to isolate the relevant case.
- Read the associated evidence and compare it with your local configuration.
Troubleshooting DNS answers and delegation diagram
- Client question
- Resolver cache
- Parent referral
- Authoritative answer
Worked examples
Read the NXDOMAIN entry
- Exact fully qualified name and authority for its parent
- If the owner is missing in the serving zone, correct the owner. If it was added recently, inspect the negative cache lifetime.
Troubleshooting DNS answers and delegation: 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.
Reference table
| Observed symptom | Record to inspect | Next decision |
|---|---|---|
| NXDOMAIN | Exact fully qualified name and authority for its parent | If the owner is missing in the serving zone, correct the owner. If it was added recently, inspect the negative cache lifetime. |
| NOERROR with no requested data | Answer and authority sections, record type and any CNAME target | Check whether the owner has the requested type. A working A answer can coexist with no AAAA data. |
| SERVFAIL | Authoritative availability, delegation, DNSSEC chain and resolver diagnostics | If validating resolvers fail while current authoritative data exists, verify DS and DNSKEY correspondence. SERVFAIL by itself does not identify the cause. |
| Old address from one resolver | RRset and remaining TTL from that resolver | Compare the same owner and type at the authority. If authority has the intended value, allow the prior cached lifetime or inspect a local override. |
| Different answers by location | Resolver identity, split-view policy, aliases and traffic steering | Confirm whether variation is intentional. Compare queries with the same type and view before attributing it to caching. |
| Request times out | Configured resolver address, local network state and reported errors | If only one client fails, compare that client's resolver and route configuration. If all fail, inspect the shared resolver or its network path. |
| Mail delivery selects the wrong host | MX target and preference, then the target's address data | Distinguish an outdated MX record from outdated address data at the selected exchanger. |
Reading the result
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.
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
Does a lower TTL make authoritative servers update faster?
TTL controls ordinary cache reuse. It does not synchronize authoritative servers. Check each authoritative zone copy and its update process when the authorities disagree.
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.
Further learning and references
- RFC 9499 · DNS terminology
Reference source for the concepts and service described in this guide.
- RFC 2308 · Negative DNS caching
- RFC 9520 · Caching resolution failures

