DNS records connect your domain to websites, email providers, verification services, and security controls. This guide explains which record to use, where to add it, how to check changes, and when to review your DNS configuration so routine updates do not become avoidable outages.
Overview
The first question in any DNS task is not “What value should I paste?” but “Which system am I connecting, and what kind of destination does it require?” An A record points a name to an IPv4 address. A CNAME creates an alias to another hostname. MX records route email, while TXT records carry text used for verification and email authentication. NS records identify the authoritative DNS servers for a domain or delegated subdomain. AAAA records serve the IPv6 equivalent of an A record, and CAA records can restrict which certificate authorities may issue certificates for a domain.
DNS records are normally managed in the control panel of the provider hosting your authoritative nameservers. That may be your domain registrar, a managed DNS platform, or a hosting provider. The place where you bought the domain is not always the place where DNS records are edited. Before making a change, check the domain’s nameserver assignment and confirm which platform is authoritative.
Keep a record of the hostname, record type, value, TTL, purpose, owner, and date of each important change. A simple change log makes troubleshooting easier and helps prevent an old verification record or email route from being deleted without understanding its purpose. For a broader operational process, see the DNS change management checklist.
What to track
Use the following reference when a service gives you DNS instructions. Interface labels vary, but the underlying record types are consistent.
| Record | Primary use | Typical value | Important caution |
|---|---|---|---|
| A | Points a hostname to an IPv4 address | 203.0.113.10 | Use the address supplied by the hosting provider. Do not enter a URL. |
| AAAA | Points a hostname to an IPv6 address | An IPv6 address | Add it only when the destination supports IPv6 and the address is correct. |
| CNAME | Aliases one hostname to another hostname | app.example-host.com | Usually used for subdomains. Do not use a URL beginning with https://. |
| MX | Specifies mail servers for a domain | A mail hostname plus priority | Preserve required priorities and remove obsolete routes carefully. |
| TXT | Stores verification or policy text | A provider-generated string | Copy the value exactly, including punctuation where required. |
| NS | Delegates DNS authority to nameservers | Nameserver hostnames | A nameserver change can affect every record that is not recreated on the new platform. |
| CAA | Controls permitted certificate authorities | A certificate authority policy | Review existing CAA records before adding restrictions that could affect SSL issuance. |
A record versus CNAME
Use an A record when the service gives you an IP address. Use a CNAME when the service gives you a hostname. For example, www.example.com might point with a CNAME to a hosting platform hostname, while the root domain may require an A record or a provider-specific alias option. DNS control panels may call the root hostname @, leave the host field blank, or display the full domain. Follow the panel’s own convention and the receiving provider’s instructions.
MX and TXT records for email
MX records determine where incoming mail is delivered; they do not configure every part of email authentication. Email providers commonly provide separate instructions for SPF, DKIM, and DMARC, often using TXT records and, in some cases, a CNAME for DKIM. Make changes one purpose at a time and document which provider owns each record. The SPF, DKIM, and DMARC setup guide provides a focused checklist for those controls.
Nameservers are not ordinary records
Changing an A or TXT record updates one part of an existing DNS zone. Changing nameservers changes which provider controls the zone itself. Before a nameserver change, copy all required records, including website, email, verification, subdomain, and certificate-related entries. Recreate them at the new provider before or during the migration plan, then test the services that depend on them.
Cadence and checkpoints
DNS is usually configured during a launch or migration, but it should also be reviewed on a recurring schedule. A monthly review may suit active development environments; a quarterly review is a practical minimum for many stable domains. Use a shorter interval during a migration, a provider change, or a period of frequent website releases.
- Before a change: Record the current value, confirm the requested record type, identify the service owner, and check for conflicting records at the same hostname.
- During the change: Confirm the name, type, value, priority, and TTL. Avoid changing unrelated records in the same maintenance window.
- After the change: Query the record from more than one network or use a DNS propagation checker. Test the actual service, not only the DNS response: load the website, send and receive email, or complete the verification workflow.
- At the next review: Compare the live zone with your inventory. Remove records that are clearly obsolete, but first confirm that no active service still depends on them.
TTL, or time to live, influences how long resolvers may cache a response. A lower TTL can make a planned change easier to roll out, but it does not guarantee immediate visibility everywhere. A higher TTL can reduce repeated lookups but may leave old answers cached longer. Treat TTL as part of the change plan rather than as a way to force instant propagation.
How to interpret changes
A DNS lookup that returns an old value does not automatically mean the record was entered incorrectly. First confirm that you edited the authoritative DNS provider, then check the exact hostname and record type. A common mistake is editing the registrar’s DNS page while the domain’s nameservers point to a separate managed DNS platform.
If a website works at the subdomain but not at the root domain, the two names may use different records or different hosting requirements. If email stops after a website change, inspect MX records and avoid assuming that the web host should also receive mail. If domain verification fails, compare the TXT value character by character and check whether duplicate TXT records are supported by the receiving service.
Unexpected changes deserve a security review. Check account activity, access permissions, nameserver assignments, and recent changes from collaborators or automation. DNSSEC can add another layer of domain protection, but it must be managed carefully during nameserver or DNS provider changes. See the DNSSEC setup, testing, and troubleshooting guide before modifying signed zones.
For website connections, also distinguish DNS from SSL. A correct A or CNAME record can direct traffic to a server, but the server still needs to answer for the hostname and present a valid certificate. The SSL certificate guide for cloud hosting covers that separate step.
When to revisit
Revisit this guide whenever you add a subdomain, launch a website, move cloud hosting, change email providers, connect an analytics or verification service, renew a certificate through a different provider, or transfer a domain. It is also worth reviewing on a monthly or quarterly schedule, after a security incident, and before an ownership handoff.
Make the review action-oriented:
- Confirm where authoritative DNS is hosted and who can edit it.
- Export or document the current zone before planned changes.
- Check A, AAAA, CNAME, MX, TXT, NS, and CAA records against active services.
- Test the website, subdomains, email delivery, and domain verification flows.
- Review nameserver, DNSSEC, and account security settings.
- Record the next review date and the owner responsible for it.
When a domain changes registrars, DNS is only one part of the transition. Use the domain transfer guide and keep renewal ownership documented with the domain renewal planning template. A maintained DNS inventory turns future changes from guesswork into a controlled, testable process.