INFINITE UPSIDE

Technology and operations

Why Can a New DNS Record Still Look Missing?

A resolver can remember that an answer was missing. Adding the record does not necessarily erase that memory everywhere at once.

A company creates a new hostname for an application. The DNS dashboard shows the record. One employee reaches it; another still gets a message that the name does not exist. The instinct is to keep adding records, switching settings or restarting the server. First find out what question the second employee’s resolver actually answered—and when it last asked.

DNS negative caching lets a resolver retain certain answers saying that a name or requested record type was absent. When a record is added after such an answer was cached, a resolver may continue to return the earlier negative answer until the relevant cache entry expires. RFC 2308 describes how name errors and missing record types are cached. Actual results can vary with the zone, resolver, record type and other caches; a new DNS record does not promise an immediate global update.

This is a different problem from an application that receives the correct address but refuses a connection. DNS is the address-finding part of the trip. A browser can get through that part and still encounter a firewall, an expired certificate or a server that is down. Conversely, a service can be perfectly healthy while a client never finds its address.

“The name is missing” is not the same as “this type is missing”

An NXDOMAIN response indicates a name error. A NODATA answer generally means the name exists but the requested record type has no data in that response. NODATA is not a separate DNS response code; it is inferred from the response. These distinctions matter because a name can have one kind of record and not another. A hostname might have an IPv4 address record but no IPv6 address record. An AAAA query can therefore produce no data while an A query succeeds, depending on the actual configuration and response.

Under RFC 2308, a cached NXDOMAIN is associated with the queried name and class; a NODATA answer is associated with name, type and class. CNAME chains and later standards add detail, so examine the complete response rather than assuming a short summary line tells the whole story. The practical point is simpler: record the exact name, type and response before deciding which setting is wrong.

SERVFAIL is different again. It signals that resolution failed, not necessarily that the name is absent. A resolver can encounter an unreachable authority, a DNSSEC validation problem or another failure. Diagnosing those requires the response and context; it is not safe to treat every SERVFAIL as an ordinary cached NXDOMAIN. Nor does “website not found” in a browser prove which DNS response was returned.

Follow a hypothetical record through time

At 10:00, a resolver asks for the A record of a hostname that has not yet been created. It receives an authoritative negative answer with a cache lifetime of 300 seconds. At 10:01, the operator adds the A record at the correct authoritative provider. In this simplified example, a resolver that cached the earlier answer at 10:00 may continue to use it until about 10:05, while another resolver that first asks after the record is published may get the new answer sooner.

The 300 seconds is an example, not a default or a guarantee that every user is fixed at 10:05. A resolver might have asked at a different time. The application, operating system, local network or an intermediate resolver may have its own behavior. Some systems cap or otherwise manage cache lifetimes according to their implementation and policy. Check the observed answer and its remaining TTL where available rather than setting a stopwatch based only on the record-creation timestamp.

Now change one fact: the name already existed with an A record, and a resolver had cached a NODATA answer for AAAA. Adding an AAAA record later does not make that earlier type-specific cache entry vanish on demand. A test that asks only for A can look healthy while the affected application is trying IPv6 first. Whether that creates a user-visible issue depends on the client and network; it should not be assumed from the DNS record alone.

The negative TTL is not necessarily the new record’s TTL

For the negative response described in RFC 2308, the authoritative answer carries the zone’s SOA record in the authority section. The negative caching lifetime is derived from the lower of the SOA record’s TTL and its MINIMUM field. For a hypothetical SOA TTL of 900 seconds and MINIMUM of 300 seconds, that calculation yields 300 seconds. Resolver behavior and other applicable rules can still affect what a particular client observes.

That number is separate from the TTL on the A or AAAA record being added. Setting a new A record’s TTL to 60 seconds does not necessarily reduce a negative answer that a resolver already cached for a longer period. Similarly, changing the SOA settings after a response was cached does not reach into every resolver and rewrite its existing entry. Plan changes before the intended cutover when control and timing allow; lowering a value after an incident begins is not a universal flush button.

Positive answers have their own cache behavior. If a client previously obtained an old address, it may keep using that positive answer for its applicable lifetime even though the authoritative server now returns a different address. Both positive and negative cache entries can be involved in one rollout, but they are different observations and deserve different explanations. The DNS changes and TTL guide covers the broader positive-cache problem.

Check the authority before blaming a cache

Find which provider is actually authoritative for the zone and confirm the exact hostname. A dashboard can display a record in a zone that is not serving the domain’s current delegation. A typo, an extra suffix, the wrong account or an unintended trailing label can make the record look present in one interface while a query asks for another name. If the domain uses a CNAME, inspect the target and follow the chain; the missing name may be the target, not the alias typed into the browser.

Compare an answer from an authoritative server with an answer from the affected recursive resolver, using approved tools and networks for the environment. Note the query name, class and type, response code, answer section, authority section, TTLs and timestamp. A newly correct authoritative answer alongside an older recursive negative answer is consistent with caching. An authoritative server that still returns the negative answer points to a different question: publication, delegation, record spelling or the provider’s own propagation may be involved.

This comparison is evidence, not a license to change live nameservers during troubleshooting. The people responsible for DNS should check the actual zone and change history before altering a delegation. A resolver’s answer can also be affected by split-horizon DNS, where internal and external clients are intentionally served different views. An internal-only name should not be expected to resolve on a public resolver, and a public record does not necessarily override an internal view.

Test the user path, not just a famous resolver

A test from a public recursive resolver can be useful, but the affected device may use the office network’s resolver, a VPN-provided resolver or another configured path. Ask which network and application experienced the problem, then compare the appropriate views. A browser’s secure-DNS configuration or a managed device policy may alter the path. Do not collect or publish a user’s browsing history just to identify the resolver; use the minimum diagnostic information needed.

Record at least one successful and one unsuccessful result with their times. If they ask different questions—A versus AAAA, a different spelling, or a different network—they are not necessarily contradictory. If both ask the same question and receive different answers, compare their resolvers and remaining lifetimes. A countdown in one answer can help distinguish a retained cache entry from a fresh response, but only within the limits of the resolver and tool being used.

After DNS returns the intended address, test the next layer separately. Does the service accept a connection on the expected port? Is the certificate valid for the hostname? Does the server route the requested host to the intended application? Avoid making a DNS change to fix an HTTP error that occurs after the correct DNS answer. The address may be accurate while the destination is misconfigured.

Give the rollout a small, reversible plan

Before a planned launch, identify the authoritative zone, expected record types, aliases and the owner responsible for each change. Note existing TTLs and the negative-cache policy exposed by the provider. Create a validation plan that checks the authoritative response first and then representative recursive paths. If clients may have queried the name before creation—for example, a link was sent early—allow for the possibility that some resolvers cached the absence.

When it is safe and authorized, a staged test can create a nonproduction name, query it before creation, add the intended record and observe the results through selected resolvers. Keep the test isolated from customer traffic and document which provider and settings were used. Do not generalize one resolver’s timing to every network. A real production change should have its own rollback plan and clear owner; deleting and recreating the record repeatedly can make the evidence harder to interpret.

For an incident, write down what changed, when the authority returned the desired answer, which resolver still returned the earlier response and when it stopped. If the authority is wrong, fix the actual record or delegation through the normal owner workflow. If the authority is right and the remaining issue is a cached answer, communicate the observed limitation and continue checking the affected path. The useful outcome is not a promise that DNS has “propagated everywhere.” It is a reproducible account of the name, answer and resolver that explains what happened and when to look again.

Explore Infinite Upside

For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.

Find your edition · Chapter companion

ABOUT THE CONTRIBUTOR

Luna Lim

DIRECTOR OF FINANCIAL RESEARCH & EDITORIAL STRATEGY

SHETH CAPITAL, INC.

Luna Lim writes about business, investing, and the judgment behind financial decisions. She joined PCH Exotics Inc. as Director of Operations in 2022, working across La Jolla and Miami. Today, she reports directly to Vijay Sheth at Sheth Capital, Inc., bringing an operator’s perspective to the ideas she covers.

Based in Pacific Beach, California, Luna is curious about the people behind the numbers: what they’re building, how they weigh uncertainty, and what makes a risk worth taking. Her articles for Infinite Upside follow those questions through the details, with clear explanations and a feel for how decisions play out in everyday business.

More from Luna Lim

The Infinite Upside store