When a domain, subdomain, or email service stops working after a DNS change, the fastest path to a fix is to identify the symptom first and then inspect the record responsible. This DNS troubleshooting guide provides a reusable decision tree, verification commands, record reference, propagation checklist, and safe rollback process for website and email changes.
Overview
DNS translates human-readable names such as example.com or shop.example.com into destinations that browsers, mail servers, and other services can use. A single domain can have many records, and each record serves a different purpose. An A or AAAA record can direct a hostname to an IP address, a CNAME can point one hostname to another, and MX records identify mail servers. TXT records are commonly used for verification and email authentication.
DNS problems are often misdiagnosed as hosting, SSL, browser, or email-client problems. Start by separating the affected service:
- The main website fails: inspect the zone apex, commonly written as
@, and confirm its address records. - A subdomain fails: inspect the exact hostname, such as
www,app, orstore. - Email fails: inspect
MXrecords first, then review the provider's requiredTXTrecords. - Only some people see the problem: compare results from multiple DNS resolvers and networks before changing records again.
- A verification step fails: confirm the exact record name, value, record type, and whether the provider expects the domain or a subdomain.
DNS answers are cached. The time-to-live, or TTL, tells resolvers how long an answer may be retained, but it does not force every resolver to refresh at the same moment. DNS changes therefore require verification from outside the management dashboard rather than relying only on the status shown by a registrar, hosting provider, or email service.
Checklist by scenario
When the domain is not resolving
- Confirm that the domain is spelled correctly and that you are editing the authoritative DNS zone.
- Check the domain's nameservers. The nameservers at the registrar must match the provider where the active DNS records are managed.
- Inspect the apex
Aand, if used,AAAArecords. Confirm that the addresses match the current hosting destination. - Check for conflicting records, stale addresses, or an accidental blank value.
- Query the domain through more than one resolver and from a network different from your own.
- Once DNS returns the expected destination, test the web server separately with the correct hostname and HTTPS scheme.
Useful command-line checks include dig example.com A, dig example.com AAAA, and nslookup example.com. Replace the example name with the affected domain. These commands help show what a resolver is returning; they do not prove that the web server, application, or certificate is correctly configured.
When a subdomain is not working
- Write down the complete hostname, including every label.
app.example.comandexample.comare different DNS names. - Look for an exact
A,AAAA, orCNAMErecord for that subdomain. - If the record is a
CNAME, query its target as well. The target must resolve and must be accepted by the hosting platform. - Check whether the hosting service requires the subdomain to be added inside its control panel before it will serve traffic.
- Confirm that the web server and TLS certificate are configured for the same hostname.
A common cause of confusion is entering a fully qualified name into a DNS interface that automatically appends the domain. If the interface expects only app, entering app.example.com may create an unintended name. Follow the field labels carefully and verify the resulting record publicly.
When email is not arriving or sending
- Query the domain's
MXrecords and compare the results with the current email provider's setup instructions. - Check the priority values when multiple mail servers are intentionally configured. Do not remove a record without knowing why it exists.
- Inspect the provider's required
TXTrecords, including SPF or verification records, for exact spelling and punctuation. - Review DKIM and DMARC records separately. They support authentication and policy handling but do not replace the required
MXrecords. - Check for an old email provider's records that conflict with the intended service.
- Test both inbound and outbound mail, because they can fail for different reasons.
For a detailed record-by-record email workflow, use the SPF, DKIM, and DMARC setup guide. If the records look correct but messages still fail, review the mail provider's delivery logs and bounce details rather than repeatedly changing DNS.
When a service verification record fails
- Copy the requested record type, name, and value exactly.
- Check whether the provider wants the host field as
@, the bare domain, or a specific label. - Remove accidental quotation marks or line breaks unless the provider explicitly requires them.
- Search for duplicate verification records or an old value from a previous setup.
- Query the record publicly, for example with
dig example.com TXTordig _service.example.com TXT.
What to double-check
| Record | Typical purpose | Primary check |
|---|---|---|
A | Maps a hostname to an IPv4 address | Confirm the address and hostname are correct. |
AAAA | Maps a hostname to an IPv6 address | Remove or correct it if the destination does not support IPv6. |
CNAME | Aliases a hostname to another hostname | Confirm the target resolves and is allowed by the service. |
MX | Specifies mail delivery servers | Compare hosts and priorities with the email provider. |
TXT | Stores verification or policy text | Check the exact name and full value. |
NS | Identifies authoritative nameservers | Confirm the registrar delegates to the intended DNS provider. |
Use a propagation checklist before concluding that a change failed:
- Record the old value, new value, change time, and reason for the change.
- Confirm the authoritative nameservers with an
NSquery. - Query the record directly against an authoritative nameserver when possible.
- Compare results from your local resolver and at least one independent resolver.
- Clear local browser or operating-system caches only after confirming the public answer.
- Allow for cached answers according to the previous TTL, while recognizing that resolver behavior can vary.
DNS is only one layer. If the name resolves to the right destination but the browser shows an error, continue with HTTP, hosting, application, or certificate checks. The HTTP status codes and redirects reference can help distinguish a DNS failure from a web-server response.
Common mistakes
- Editing the wrong DNS provider: A domain may be registered in one account while its authoritative zone is managed elsewhere.
- Changing several records at once: This makes it difficult to identify which change caused the problem. Make one related change, record it, and verify it.
- Assuming TTL controls all propagation: TTL affects caching, but it is not a universal completion timer.
- Using a CNAME at the zone apex: DNS interfaces and providers handle apex aliases differently. Follow the hosting provider's supported configuration rather than guessing.
- Leaving an obsolete AAAA record: Some visitors may use IPv6 and reach a different or unavailable destination.
- Confusing DNS with SSL: A resolved hostname can still fail certificate validation if the certificate does not cover that name.
- Overwriting email records: Replacing all existing
TXTorMXrecords can disrupt verification or mail delivery. Review each record's purpose first. - Testing only from one connection: Local caches, corporate resolvers, VPNs, and split-DNS configurations can produce different answers.
Before changing a live zone, export or document the current records. For higher-risk migrations, lower the TTL ahead of the planned change when practical, prepare the destination first, and keep a rollback value available. A backup plan is useful only if the records and restoration steps are documented; see the cloud website backup and disaster recovery guide for a broader rollback workflow.
When to revisit
Return to this checklist whenever you change hosting, move a WordPress or other website installation, add a subdomain, switch email providers, configure a CDN, renew a service integration, or alter nameservers. It is also worth reviewing before seasonal planning cycles and before a planned launch, migration, or campaign when a DNS mistake could interrupt visitors or email.
Tools and control-panel workflows change over time, so recheck the current instructions from your registrar, hosting provider, email provider, and DNS platform before applying a provider-specific value. Resolver commands such as dig and nslookup remain useful, but the exact interface labels and validation steps may differ.
For the next DNS change, use this practical sequence:
- Document the current zone and identify the authoritative nameservers.
- Define the exact service and hostname being changed.
- Prepare the destination service before editing DNS.
- Change only the necessary record and save the old value.
- Verify authoritative and public resolver answers.
- Test the actual website, subdomain, or mail flow from more than one network.
- Keep the rollback record until the change has been confirmed and the relevant cache period has passed.
This disciplined approach turns a vague “domain not resolving after DNS change” problem into a sequence of observable checks. It also creates a useful record for future maintenance, troubleshooting, and handoffs.