Understanding DNS Records: A, AAAA, CNAME, MX, TXT, and NS Print

  • DNS records
  • 1834

When someone enters your domain name into a browser or sends an email to an address at your domain, the Domain Name System (DNS) helps direct that request to the correct destination.

DNS records are individual instructions stored in your domain's DNS zone. Each record has a specific purpose, such as directing website traffic, identifying mail servers, or verifying domain ownership.

Understanding the most common DNS record types makes it easier to connect your domain to hosting, configure professional email, and troubleshoot connection problems.

What Are DNS Records?

DNS records are settings associated with a domain name. They tell DNS resolvers where to find services associated with that domain.

A DNS zone can contain several record types at the same time. For example, your website may use an A record while your email service uses MX records. These settings can coexist because they serve different purposes.

Common DNS Record Types

A Record

An A record connects a domain name or hostname to an IPv4 address.

For example, an A record may direct:

  • example.com to an IPv4 server address.

  • www.example.com to an IPv4 server address.

The address must be supplied by the hosting or service provider receiving the traffic. Do not guess the IP address.

AAAA Record

An AAAA record performs a similar function to an A record, but it points to an IPv6 address.

A domain can have both A and AAAA records when the destination service supports both address types.

CNAME Record

A CNAME record makes one hostname an alias of another hostname.

For example, www.example.com might point to example.com, allowing both names to reach the same destination.

A CNAME record points to another hostname, not directly to an IP address. DNS standards also restrict where CNAME records can be placed, so they should not be used indiscriminately at the root of a domain.

MX Record

An MX record identifies the mail servers responsible for receiving email for a domain.

If you use professional email, your email provider supplies the required MX destinations and may specify priorities. Incorrect MX records can interrupt incoming email.

TXT Record

TXT records store text-based information associated with a domain. They are commonly used for:

  • Domain ownership verification.

  • Email authentication, including SPF and related configuration.

  • Service verification.

  • Other provider-specific settings.

Always copy the complete value supplied by the service requiring the record. A missing character or incorrect hostname can prevent verification.

NS Record

NS records identify the authoritative name servers for a DNS zone.

The domain's nameserver settings determine which DNS service is responsible for publishing the domain's records. If you change nameservers, the DNS records maintained by the previous DNS provider do not automatically become part of the new provider's zone.

How DNS Records Work Together

A domain does not necessarily use just one DNS record. A typical configuration might include:

  • An A record for the website.

  • A CNAME record for the www hostname.

  • MX records for professional email.

  • TXT records for domain verification and email authentication.

  • NS records identifying the authoritative DNS service.

The exact records depend on the services connected to your domain.

Before Changing a DNS Record

DNS changes can affect websites, email, verification, and other connected services. Before editing a record:

  1. Identify which service requires the change.

  2. Obtain the exact record type, hostname, destination, and priority (if applicable) from that provider.

  3. Review the existing DNS zone.

  4. Record the current settings before making changes.

  5. Avoid deleting records unless you understand what they support.

  6. Allow time for DNS changes to become visible across different resolvers.

If you are connecting a domain to WebDaddy Pro hosting, see How to Register a Domain Name with WebDaddy Pro for registration guidance and How to Transfer Your Domain to Your WebDaddy Pro Account if you are moving an existing registration.

Need Help With DNS Configuration?

If you are unsure which records your website or email service requires, contact WebDaddy Pro Support. Include the domain name and the service you are trying to connect, but do not include account passwords or private credentials.


Was this answer helpful?

« Back