DNS Troubleshooting Guide: How to Fix A, CNAME, MX, TXT, and CAA Record Problems
DNSdomain managementemail setupSSLtroubleshooting

DNS Troubleshooting Guide: How to Fix A, CNAME, MX, TXT, and CAA Record Problems

SSolitary Cloud Editorial
2026-11-30
7 min read

Troubleshoot A, CNAME, MX, TXT, and CAA records with a practical DNS checklist for websites, email, verification, and SSL.

DNS problems often look alike: a website disappears, email stops arriving, domain verification remains pending, or an SSL certificate cannot be issued. This guide gives you a reusable troubleshooting checklist for A, AAAA, CNAME, MX, TXT, and CAA records, plus a safe workflow for making, testing, and reversing DNS changes.

Overview

The Domain Name System translates names such as example.com into information that browsers, mail servers, certificate authorities, and other services can use. A DNS change can therefore affect several independent systems at once. The first step is to identify which service is failing and which record controls it.

Use this basic map before editing anything:

  • A: Connects a hostname to an IPv4 address. It commonly directs a website such as example.com or www.example.com to a server.
  • AAAA: Connects a hostname to an IPv6 address. An incorrect AAAA record can make a site fail for some visitors even when its A record is correct.
  • CNAME: Points one hostname to another hostname, such as www.example.com to a hosting platform hostname. A CNAME does not contain an IP address.
  • MX: Specifies the mail servers responsible for receiving email for a domain. Lower numeric priority values are generally preferred when multiple MX records exist.
  • TXT: Stores text used for domain verification and email policies, including SPF-related records and other service-specific tokens.
  • CAA: States which certificate authorities may issue certificates for a domain, when CAA restrictions are present.

DNS troubleshooting is easiest when you separate three questions: are the domain's authoritative nameservers correct, do those nameservers contain the intended records, and are public recursive resolvers returning the new values? A control panel can display a saved record while the public internet is still using a different delegated DNS provider.

Checklist by scenario

The website does not load

  1. Confirm the hostname being tested. The root domain, www, and other subdomains can have different records.
  2. Check whether the hostname has the correct A record for the hosting server. If the provider supplied a hostname rather than an IP address, use the required CNAME instead.
  3. Check for an unexpected AAAA record. If IPv6 is advertised but the server is not configured to accept IPv6 traffic, some networks may fail before trying IPv4.
  4. Look for conflicting records. A hostname generally should not have a CNAME alongside A or AAAA records at the same name.
  5. Confirm that the hosting service has accepted the domain and that the site is configured to respond to the requested hostname. DNS alone does not configure the web server.

If you recently moved hosting, compare the old and new DNS values before removing anything. The website migration checklist can help you coordinate DNS changes with testing and redirects.

Email is not arriving or sending is affected

  1. Query the domain's MX records and confirm that the mail provider's hostnames and priorities match its current setup instructions.
  2. Check that every MX target is a hostname with an address record. An MX record should not point directly to a web URL or an address containing a path.
  3. Remove obsolete MX records only after confirming that no active mailbox or forwarding service still depends on them.
  4. Review TXT records separately. MX records route incoming mail; SPF, DKIM, and DMARC records help communicate sending and authentication policies.
  5. Test both a newly sent message and a reply to an existing address. Delivery failures can be caused by mailbox, provider, or authentication settings rather than DNS routing alone.

For a focused email review, use the SPF, DKIM, and DMARC setup guide. Avoid publishing multiple competing SPF policies at the same domain; consolidate authorized senders into the format required by your email provider.

Domain verification remains pending

  1. Copy the exact record name and value supplied by the service. A single missing character, quotation mark, or extra space can invalidate a token.
  2. Check whether the provider expects a TXT record at the root domain or at a specific host such as _verify or _acme-challenge.
  3. Make sure you are editing the DNS zone that is authoritative for the domain, not an unused zone at the registrar or a previous host.
  4. Query the record publicly and compare the returned value with the provider's requested value before selecting “verify” again.
  5. Leave unrelated TXT records in place. Multiple TXT records can be valid when they serve different purposes, provided the service's instructions allow them.

SSL certificate issuance or renewal fails

  1. Confirm that the requested hostname resolves to the intended service and that the service can complete its chosen validation method.
  2. For DNS validation, check the exact validation record name and value, including any underscore-prefixed label.
  3. Inspect CAA records. If CAA is configured, the certificate authority requesting issuance must be permitted by the relevant CAA policy.
  4. Check for stale validation records left by an earlier attempt, but do not delete records that an active certificate process still needs.
  5. After issuance, verify the certificate on every hostname users visit, including both the root domain and www when applicable.

For expiry dates, validation errors, and HTTPS behavior after DNS changes, see the SSL certificate renewal guide.

What to double-check before and after a DNS change

Confirm delegation first

Find the nameservers published for the domain and compare them with the DNS provider where you made the edit. If the domain uses one provider's nameservers but you changed records at another provider, the change will not be visible publicly. Also check for recent nameserver changes, because delegation changes can have a different caching pattern from an individual record update.

Record the current state

Before editing, export the zone if your provider supports it or create a simple change log containing the hostname, record type, value, TTL, reason, and timestamp. Save the previous value for every record you plan to replace. This makes rollback possible without guessing.

Use precise lookups

Check the authoritative answer and at least one public recursive resolver. Tools such as dig, nslookup, and DNS inspection utilities can query a specific record type:

  • dig A example.com checks IPv4 addresses.
  • dig AAAA example.com checks IPv6 addresses.
  • dig CNAME www.example.com checks an alias.
  • dig MX example.com checks mail routing.
  • dig TXT example.com checks verification and policy text.
  • dig CAA example.com checks certificate authorization policy.

Use the exact hostname and record type requested by the service. A browser test alone cannot confirm MX, TXT, or CAA behavior.

Understand TTL and caching

TTL, or time to live, tells recursive resolvers how long they may cache an answer. A lower TTL can make planned changes easier to observe, but it does not force every resolver, application, or local network to refresh immediately. Cached negative answers can also make a newly created record appear absent for a while. Treat propagation as a period for verification, not as a precise countdown.

Common DNS mistakes

  • Entering the full domain when the control panel appends it: Some interfaces expect www, while others expect www.example.com. Follow the field's format and inspect the saved result.
  • Using a URL as a record value: DNS values do not include https://, a slash, or a page path. A record uses an IP address; a CNAME uses a hostname.
  • Leaving old and new website records active: Multiple A records can distribute traffic among addresses, which is unsafe if the servers are not intentionally configured together.
  • Deleting email records during a website migration: Web hosting and mail hosting can be separate. Change only the records required for the service being moved.
  • Publishing duplicate SPF TXT records: Combine authorized sending mechanisms according to the provider's instructions instead of creating separate SPF policies.
  • Assuming DNS controls HTTPS: DNS points a hostname to a service; the hosting platform must also serve the domain and install or renew its certificate.
  • Changing several variables at once: If A, MX, TXT, nameservers, and CAA records all change together, diagnosing the resulting failure becomes much harder.
  • Testing only from one network: Local caches and resolver differences can hide or exaggerate a problem. Compare authoritative results with more than one recursive lookup.

When to revisit your DNS checklist

Revisit this process whenever you launch a site, move to cloud hosting, add a subdomain, change email providers, connect a form or analytics service, renew an SSL workflow, or alter nameservers. It is also worth reviewing before seasonal campaigns and other periods when a brief outage or missed email would be costly.

Keep a current inventory of domains, authoritative nameservers, website records, mail records, verification tokens, CAA policies, TTL choices, and the person or system responsible for each service. Review it when vendors change their setup instructions or when your deployment workflow changes. Remove records only after confirming their purpose; an unfamiliar TXT or CAA entry may support an active integration.

For a safe change, follow this short sequence:

  1. Write down the intended result and affected hostname.
  2. Confirm the authoritative DNS provider.
  3. Record the existing value and take an export or backup.
  4. Make one focused change using the provider's exact record format.
  5. Query the authoritative answer, then check public resolvers.
  6. Test the affected website, email flow, verification process, or certificate validation.
  7. Keep the old value available until the change is confirmed, then update your inventory.

When a DNS issue remains unclear, stop making additional edits. Preserve lookup results, timestamps, error messages, and the current zone contents. That evidence makes escalation to the DNS, hosting, or email provider faster and reduces the risk of turning a single incorrect record into several unrelated failures.

Related Topics

#DNS#domain management#email setup#SSL#troubleshooting
S

Solitary Cloud Editorial

Technical Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.