Tools & How-To

DNS Troubleshooting Guide: Fix Propagation, Resolution and Website Availability Issues

DNS translates domain names into records that browsers and other clients use to find services. When a website or email service becomes unreachable, DNS is

Sunil Kumar6 min read
Domain name resolution and network connectivity concept

DNS translates domain names into records that browsers and other clients use to find services. When a website or email service becomes unreachable, DNS is one possible cause—but the correct diagnosis depends on the record type, resolver, TTL and network path.

Why this matters in production

A domain can work for one person and fail for another because clients may use different recursive resolvers or cached answers. A recently changed record may also coexist with older cached data until its TTL expires.

Core concepts to understand

Authoritative name servers publish a zone’s records. Recursive resolvers look up answers on behalf of clients and cache them. A record maps a name to an IPv4 address, AAAA to IPv6, CNAME creates an alias, and MX identifies mail exchangers.

Plan the architecture before implementation

Check the authoritative zone first, then compare answers from multiple resolvers. Confirm the record name, type, target, TTL and delegation. Do not change several records at once when investigating an outage.

A practical implementation sequence

A reliable implementation is easier when work is broken into small, reviewable steps. Use the following sequence as a starting point, then adapt it to the scale and risk of the environment:

  1. Confirm that the domain’s registrar delegation points to the intended authoritative name servers. A correct record in the wrong DNS provider will not be served to the public.
  2. Query the authoritative servers directly and compare their answers with recursive resolvers. This separates zone configuration problems from caching or resolver issues.
  3. Check A, AAAA, CNAME, MX, TXT and CAA records according to the service affected. A website may resolve while email authentication or certificate issuance remains broken.
  4. Review TTL values before planned migrations. Lowering TTL ahead of a change can help, but cached values may remain until their previous TTL expires.
  5. Validate DNSSEC when enabled. Incorrect signatures or DS records can cause validating resolvers to return failures even when the visible record looks correct.

A realistic example

If a website loads on mobile data but not on office Wi-Fi, compare the DNS answer returned by the office resolver with a trusted public resolver and the authoritative server. The difference can identify a stale cache or local filtering issue..

Measure outcomes, not just activity

Monitor authoritative availability, resolution success, response latency, SERVFAIL and NXDOMAIN rates, record changes and certificate-validation failures. Keep an inventory of which provider controls each zone and who can modify it.

Common mistakes and how to avoid them

Avoid repeatedly changing records during propagation, using a CNAME where the zone apex provider does not support it, forgetting AAAA records, or deleting MX and TXT records during a website migration. Always export or record the existing zone first.

Trace the DNS resolution path

When a name fails, identify the layer that returned the failure. Check the client’s configured resolver, query a recursive resolver and query the authoritative nameserver directly. If the authoritative server returns the expected record but a recursive resolver returns an older answer, investigate caching and TTL. If authoritative servers disagree, check zone replication and provider configuration. If the domain returns SERVFAIL, inspect DNSSEC validation, delegation and nameserver reachability. Save command output with timestamps so that results from different networks can be compared instead of relying on a single browser test.

Record types and common migration errors

A records and AAAA records can send IPv4 and IPv6 clients to different destinations. A stale AAAA record can therefore create an outage that appears only on networks preferring IPv6. CNAME records have restrictions at zone apexes depending on the provider, while MX records determine mail routing and TXT records often carry verification and email authentication data. During a website migration, do not delete SPF, DKIM, DMARC, CAA or MX records simply because the web host is changing. Export the full zone first and compare the new zone record by record.

TTL, DNSSEC and email diagnosis

TTL controls how long a resolver may cache an answer; it does not force every resolver to refresh instantly. Lower TTL ahead of a planned migration, allow the old TTL to expire, then change the record and monitor both old and new destinations. With DNSSEC, validate the DS record at the registrar and the signatures in the zone; a mismatch can make validating resolvers reject otherwise correct records. For email problems, check MX priority, SPF lookup limits, DKIM selector names and DMARC alignment. Website DNS and email DNS should be tested separately.

A safe domain migration checklist

Before changing nameservers, capture existing records and confirm the new provider has imported every required entry. Verify authoritative answers, TLS certificates, IPv4 and IPv6 connectivity, mail delivery and third-party domain verification. Keep the previous hosting destination available during the transition and use logs to see whether traffic still reaches it. Do not make several unrelated DNS changes at once; a small, reversible change is easier to diagnose. After the migration, remove obsolete records only after owners confirm that no service depends on them.

Frequently asked questions

How long does DNS propagation take?

It depends on the previous TTL, resolver caches and provider behavior. There is no single universal propagation time.

Why does a domain work on one network but not another?

Networks may use different recursive resolvers, cached answers, filtering rules or IPv4 and IPv6 paths.

Can DNS changes affect email?

Yes. MX, SPF, DKIM and DMARC records are separate from website routing and must be preserved and tested.

Conclusion

Use the requirements of the real workload to guide the design. Make ownership clear, validate the important failure paths, document operational decisions and review the controls after meaningful changes. A reliable implementation is one that the team can understand, monitor and recover—not simply one that passes its first test.

Production rollout and ongoing review

Start with a limited rollout that represents the real production environment. Capture a baseline, record the owner and dependencies, define acceptance criteria and agree on a rollback path before changing the live service. Test expected failures as well as normal operation. Review logs and metrics for unexpected errors, performance regressions, resource pressure and behavior that differs between environments. Ask operators and users whether the new workflow is understandable and supportable. Turn recurring manual checks into automated tests where practical, keep the runbook current and expand only after the first rollout meets its acceptance criteria. Track unresolved risks with a named owner and review date rather than leaving exceptions undocumented.

Keep an authoritative DNS change record

Record which registrar controls delegation, which provider hosts the authoritative zone, who owns the domain and which applications depend on its records. For each change, capture the previous value, new value, TTL, approval and rollback instruction. This is particularly important when several teams manage website, email, verification and certificate records. Review access to the registrar and DNS provider separately, enable strong authentication and alert on nameserver or DNSSEC changes. A well-maintained change record turns a confusing propagation incident into a comparison between expected and observed answers.

Share this article

Written by

Sunil Kumar

Founder of FutureTechie and BoltPane. Writes clear explainers on AI, cybersecurity, gadgets and developer tools for curious readers who want signal over hype.

106 articles View profile

Get the tech briefing

AI, gadgets, software and cybersecurity — distilled into one short briefing every weekday.

Leave a Reply

Your email address will not be published. Required fields are marked *