DNS records connect your domain to websites, email providers, verification services, and other internet applications. This practical DNS settings guide explains what A, AAAA, CNAME, MX, TXT, NS, and SRV records do, which record to change for common tasks, and how to monitor changes without creating avoidable outages.
Overview
The Domain Name System, or DNS, translates human-readable names such as example.com into the technical destinations used by browsers, mail servers, and online services. Your domain registrar, hosting company, or dedicated DNS provider usually gives you a dashboard where these settings can be viewed and edited.
DNS records are individual instructions stored in a domain's DNS zone. Each record normally has a type, a name or host, a value or destination, and a time to live (TTL). The exact labels in a dashboard vary, but the underlying purpose is consistent.
Before changing a record, identify where the domain's authoritative DNS is managed. If the domain uses your registrar's nameservers, changes are usually made at the registrar. If it uses hosting-company, cloud, or specialist DNS nameservers, make the change in that provider's control panel instead. Editing a non-authoritative copy will not change the live domain.
Keep a simple record of the current configuration before making edits. Include the record type, host, value, TTL, date changed, and the service that requested the change. This makes troubleshooting and rollback much easier, particularly when several people manage the same domain.
Quick reference: common DNS records
| Record | What it does | Typical use |
|---|---|---|
| A | Points a hostname to an IPv4 address. | Connecting a domain or subdomain to a web server. |
| AAAA | Points a hostname to an IPv6 address. | Providing an IPv6 destination for a website or service. |
| CNAME | Aliases one hostname to another hostname. | Connecting a subdomain to a platform-provided hostname. |
| MX | Specifies which mail servers receive email for a domain. | Setting up business email or changing email providers. |
| TXT | Stores text used for verification and policy information. | SPF, DKIM, DMARC, domain verification, and service ownership checks. |
| NS | Identifies the authoritative nameservers for a domain or delegated zone. | Changing DNS providers or delegating a subdomain. |
| SRV | Defines the hostname and port for a particular service. | Applications such as collaboration, voice, or other service-specific systems. |
What to track
Knowing the record types is useful, but tracking the right values is what prevents configuration drift. Review the following areas when you launch a site, change providers, or perform a routine DNS check.
Website and subdomain destinations
An A record sends a hostname to an IPv4 address. A typical entry might use @ or a blank host for the root domain and an address such as 203.0.113.10. An AAAA record performs a similar function for an IPv6 address. Use the address supplied by your hosting provider rather than copying an example.
A CNAME record points a hostname to another hostname, such as www.example.com pointing to example.com or shop.example.com pointing to a platform destination. The key difference in the A record vs. CNAME choice is that an A record uses an IP address, while a CNAME uses a hostname. A CNAME is often convenient when a provider manages the destination, because the provider can update its underlying IP without requiring you to edit the record.
Check for conflicting records before adding a new one. In particular, a hostname generally should not have a CNAME alongside other record types at the same name. Many DNS dashboards warn about conflicts, but not all do.
Email delivery and authentication
MX records tell sending mail systems where to deliver messages for your domain. They include a destination hostname and a priority value. When multiple MX records exist, the lower priority number is commonly preferred, but follow the instructions from the email provider exactly.
Changing MX records can affect incoming email, so list every required destination before deleting anything. Some providers also require TXT records for SPF, DKIM, or DMARC. These records help publish email-authentication instructions, but they serve different purposes and should not be combined simply because they are all TXT records. For a focused review, use the SPF, DKIM, and DMARC audit checklist.
Verification and service connections
Many website, analytics, advertising, and security services verify domain ownership with a TXT record. The service normally supplies the exact host and value. Copy both carefully, preserve punctuation, and avoid adding quotation marks unless the dashboard specifically requires them.
SRV records are more specialized. They can specify a service name, protocol, priority, weight, port, and target hostname. Do not create an SRV record from a general example if a provider has supplied a formatted value; enter each field according to that provider's instructions.
Nameservers and delegation
NS records identify the authoritative nameservers for a domain or delegated subdomain. Changing nameservers is different from changing an A or MX record: it can move control of the entire DNS zone to another provider. Before a nameserver change, recreate all required website, email, verification, and security records in the new zone. A missing MX or TXT record can interrupt email even if the website loads normally.
For broader domain administration, keep DNS details with ownership and renewal information in a domain portfolio management template. This is especially useful when several domains or subdomains share different hosting and email providers.
Cadence and checkpoints
DNS does not need to be edited on a fixed weekly schedule, but it does benefit from checkpoints. A practical routine combines event-based reviews with a monthly or quarterly inventory check.
When connecting a website
- Confirm the authoritative nameservers.
- Read the hosting provider's required records and note whether it expects an A, AAAA, or CNAME record.
- Record the existing website and email entries before editing.
- Add or update only the required web records.
- Test the root domain, the
wwwhostname, and important subdomains over time.
Do not assume that changing the root domain automatically changes www. These names may have separate records and should be checked independently.
When changing email providers
- Confirm the new provider's MX destinations and priority values.
- Collect its SPF, DKIM, and DMARC instructions.
- Lowering TTL in advance may help planned migrations, but it does not guarantee instant visibility everywhere.
- Change MX records during a controlled window and monitor inbound and outbound messages.
- Keep the old configuration documented until delivery has been confirmed.
For a full domain move, a domain transfer checklist is a separate concern from DNS changes. Transferring registration and changing nameservers are related but not identical operations.
Monthly or quarterly review
At each routine checkpoint, compare the live DNS zone with your inventory. Look for records belonging to former hosts, unused verification services, old email providers, and temporary campaign subdomains. Confirm that important records still point to services your organization recognizes. Avoid deleting an unfamiliar entry until you have identified its owner and purpose.
Also check whether the hosting destination, email provider, or security service has issued new DNS instructions. Provider dashboards can change, and a record that was correct for an earlier setup may become unnecessary after a migration. Pair DNS checks with your hosting performance review using the repeatable uptime, speed, and reliability checklist.
How to interpret changes
DNS changes are not always visible everywhere immediately. TTL influences how long resolvers may retain a previous answer, while resolver behavior and provider workflows can also affect timing. Treat the TTL as a caching instruction, not a guaranteed propagation countdown.
When testing a change, check more than one hostname and more than one type of service. A useful sequence is:
- Confirm that the record appears correctly in the authoritative DNS provider's dashboard.
- Use a DNS lookup tool or command-line utility to query the specific record type.
- Test the website in a private browser window or from a separate network.
- Send and receive test email if MX records changed.
- Open the service that required verification and request a fresh check.
If the website works but email does not, inspect MX and email-authentication records rather than changing the A record again. If the root domain works but a subdomain fails, inspect that hostname's individual record. If some locations show an old answer, wait for caches to expire before assuming the edit failed.
Common mistakes include entering a full domain name in a host field that automatically appends the domain, adding an extra dot or missing dot to a target, replacing all MX records when the provider requires several, and placing a TXT value in the wrong hostname. Screenshots or copied instructions can also become outdated, so compare them with the provider's current documentation and field labels.
If you recently changed nameservers, verify that the new DNS zone contains every necessary record. A nameserver change can make an otherwise correct record invisible if it was added only at the old provider.
When to revisit
Revisit this DNS records guide before any planned change to hosting, email, domain registration, website builders, CDN settings, or third-party verification. It is also worth reviewing after a team member leaves, a provider is replaced, a new subdomain is launched, or a security audit identifies an unfamiliar record.
For recurring maintenance, schedule a monthly or quarterly DNS checkpoint based on how often your website and services change. The review should compare the live zone with your documented inventory, confirm that business-critical records resolve as expected, and remove only entries that have been identified and approved as obsolete.
Use this final checklist before saving a change:
- Am I editing the authoritative DNS provider?
- Have I recorded the current value for rollback?
- Am I using the correct record type for the task?
- Could this change affect email, verification, SSL, or a subdomain?
- Does the host field need
@, a blank value, or only the subdomain label? - Have I checked for conflicting records?
- Who will test the result, and when?
DNS is easiest to manage when every entry has a known purpose and an owner. Keep the inventory current, make one logical change at a time, and revisit it whenever your domain's website, email, or connected services change.