When a website, subdomain, email service, or verification record fails, the cause is often a mismatch between the DNS record you edited and the DNS information the internet is actually querying. This DNS troubleshooting guide gives you a repeatable way to check delegation, authoritative responses, record values, caching, IPv4 and IPv6 behavior, and service-specific requirements before making another change.
Overview
DNS translates human-readable names such as example.com into information that services can use, including IP addresses, mail servers, aliases, and verification values. A DNS problem can therefore appear in several forms: a website may not load, a subdomain may reach the wrong server, email may be rejected, or a provider may report that a TXT record is missing.
The first question is not simply “is the record present?” It is “which nameservers are authoritative for this domain, and what do those nameservers return?” A record can look correct in a registrar or managed DNS dashboard while the public authoritative DNS still returns an older value. Conversely, a correct authoritative response may not be visible immediately through every recursive resolver because cached responses can remain available until their TTL expires.
Keep a short change log while troubleshooting. Record the hostname, record type, old value, new value, time of the change, expected result, and the service or server that should answer. This prevents repeated edits and makes it easier to identify whether the issue is configuration, delegation, caching, or the destination service itself. For broader ownership and renewal controls, see the domain portfolio management checklist.
Checklist by scenario
Use the relevant row first, then verify the result against authoritative nameservers rather than relying only on a single online lookup.
| Symptom | Record or layer to inspect | Likely cause | Practical check |
|---|---|---|---|
| The main website does not load | A and AAAA records | Wrong address, stale address, or an unreachable IPv6 destination | Query both record types. If an AAAA record exists, confirm the server accepts IPv6 traffic; otherwise review whether it should be published. |
| A subdomain reaches the wrong service | A, AAAA, or CNAME | Old hosting value, typo in the target, or a CNAME pointing to the wrong provider hostname | Check the exact hostname, including whether the application uses www, app, or another subdomain. |
| A domain verification fails | TXT, CNAME, or occasionally a specified file or address | Value copied with missing characters, incorrect host field, duplicate value, or record added at the wrong DNS provider | Copy the provider’s expected name and value exactly. Query the record publicly and compare character by character. |
| Email is not delivered | MX, TXT, SPF, DKIM, and DMARC | Wrong MX destination, missing mail records, invalid SPF syntax, or DKIM published under the wrong selector | Confirm the MX hostname and priority, then test each email-authentication record separately. A complete workflow is covered in the SPF, DKIM, and DMARC setup guide. |
| Nameserver changes appear ignored | Parent-zone delegation and NS records | Nameservers were changed at the wrong registrar, only one nameserver was updated, or the domain still delegates to the previous provider | Query the domain’s NS records and compare them with the nameservers shown by the intended DNS provider. |
| Some users see the new result while others see the old one | TTL and recursive caches | Resolvers have cached different answers, or multiple authoritative nameservers are not synchronized | Query several resolvers and the authoritative servers directly. Do not keep changing the record solely because one resolver is behind. |
Run an authoritative lookup
Start by identifying the authoritative nameservers:
dig NS example.com
Then query a specific authoritative server for the record in question:
dig @ns1.example-dns.com example.com A
dig @ns1.example-dns.com www.example.com CNAME
dig @ns1.example-dns.com example.com MX
dig @ns1.example-dns.com example.com TXT
Replace the nameserver and hostname with your own values. On systems without dig, nslookup can provide similar basic checks. If the authoritative response is wrong, investigate the DNS zone or delegation. If it is correct but a normal lookup is old, investigate caching and TTL before editing anything else.
Check the service after DNS
A correct DNS answer does not guarantee that the destination works. For a website, confirm that the server is listening on the expected address and that the web server accepts the hostname. For a cloud VPS deployment, check firewall rules, reverse-proxy configuration, and application health. For email, verify that the mail provider has accepted the domain and that its required MX, SPF, DKIM, or DMARC values match your configuration. If you are connecting a new site, the domain-to-hosting connection guide provides a deployment-oriented sequence.
What to double-check
- Hostname formatting: The DNS dashboard may display the zone name separately. Entering
www.example.comin a field that automatically appendsexample.comcan create an unintended name such aswww.example.com.example.com. - Trailing dots: DNS targets are often treated as fully qualified names when written with a final dot, such as
target.provider.net.. Follow the interface’s notation rather than adding or removing punctuation at random. - Record conflicts: A hostname should not normally have a CNAME alongside other data at the same name. An apex domain also has provider-specific restrictions because it commonly needs several records. Check the DNS provider’s supported approach before combining records.
- A versus AAAA: An A record serves IPv4 clients and an AAAA record serves IPv6 clients. If only IPv6 users fail, inspect the AAAA destination, server routing, firewall, and application listener rather than changing the A record.
- MX targets: MX records should point to mail hostnames, not usually directly to IP addresses. Check priority values when more than one mail server is intentionally configured.
- TXT precision: Verification and email-authentication values can be sensitive to missing characters, spaces, quotation handling, and line-length treatment by the provider. Use the exact value supplied by the service.
- Nameserver consistency: If a domain has several authoritative nameservers, they should return the intended zone data consistently. A partial update can create intermittent results.
- DNSSEC status: If DNSSEC is enabled, a stale or incorrect delegation signature can produce validation failures even when ordinary records look correct. Review DNSSEC only through the registrar and DNS provider settings that manage it; avoid disabling it as a first response without understanding the change.
Common mistakes
Editing DNS at the wrong provider. A domain can be registered with one company while its DNS is hosted elsewhere. The active nameservers determine which zone is authoritative, not the company that issued the registration invoice.
Changing several values at once. Multiple simultaneous edits make diagnosis difficult and can create avoidable downtime. Change one related item, record the time, and test the authoritative response before proceeding.
Assuming propagation means every delay. “Propagation” is often used to describe caching, but a wrong authoritative answer, incorrect delegation, or server outage will not resolve simply by waiting. Check the authoritative source first.
Ignoring the apex and subdomain difference. example.com, www.example.com, and mail.example.com are separate DNS names. A working record for one does not prove that the others are configured.
Testing only from one network. Local operating-system caches, browser caches, home routers, corporate resolvers, and public recursive resolvers can produce different short-term observations. Flush local caches when appropriate, but treat authoritative queries as the reference point.
Forgetting the next operational step. After DNS points to a new server, you may still need to configure the virtual host, application routing, firewall, or SSL certificate. Use the SSL certificate setup checklist once the hostname reaches the intended service.
When to revisit
Revisit this checklist whenever you register or transfer a domain, change nameservers, move web hosting, deploy a cloud server, change email providers, add a subdomain, or renew a service that relies on DNS verification. It is also useful before seasonal planning cycles, before a major product launch, and after infrastructure changes that affect IP addresses or hostnames.
For recurring DNS management, schedule a lightweight review at least whenever your infrastructure or provider workflow changes. Confirm the registrar account, authoritative nameservers, critical A and AAAA records, mail records, verification records, TTL choices, and the person or system responsible for each domain. If a domain transfer is involved, use the domain transfer checklist to reduce the risk of changing registration and DNS settings together without a record of the current configuration.
Before closing a troubleshooting incident, save the final zone values and a short explanation of what fixed the issue. The next time DNS is not working, begin with the same sequence: identify delegation, query the authoritative server, compare the expected record, test recursive visibility, and then inspect the destination service. This approach is slower than guessing once, but faster and safer when a domain supports a live website, business email, or deployed application.