What Are DNS Records and What Are They For: A Basic Guide to Understanding Your Domain

Home / Servers / What Are DNS Records and What Are They For: A Basic Guide to Understanding Your Domain
Person surfing the internet

When you register a domain or create a website, the DNS (Domain Name System) is what makes it possible for users to find you on the internet. However, behind that simple name lies a series of records that indicate where your site is hosted, how your emails are managed, and even how your messages are authenticated. Understanding what each type of DNS record does — A, AAAA, CNAME, MX, TXT, among others — will help you keep your domain properly configured and avoid many common errors.

Before diving into each type of record, it’s worth understanding that DNS works like a massive global phonebook. Every time someone types your domain into their browser, this system translates that name into an IP address that locates the server hosting the website. If a record is misconfigured, the page may fail to load, emails might not arrive, or external services associated with the domain could malfunction.

DNS records are managed from your provider’s dashboard: this could be your hosting provider, your domain registrar, or a dedicated DNS service. Although each platform has its own interface, all types of records work the same way and store essential information for the domain to function.

Below, I explain the most common records and what each one is for.

A Record (Address)

The A record associates your domain with an IPv4 address, which is the classic version of the IP protocol. If your website is on a server with an IP like 192.168.1.10, this record tells the browser where to go to load the site. It’s one of the most important records, and if you delete or modify it incorrectly, the page will stop working.

AAAA Record (Quad-A)

This works the same as the A record, but it points to IPv6 addresses, a more modern protocol that allows for a vastly greater number of IP addresses. More and more services are using it, so it’s common to find both types of records working in parallel.

CNAME Record (Canonical Name)

The CNAME record is used to create aliases for a domain. In other words, it allows a subdomain to point to another name instead of a direct IP address. For example, if you want www.yourdomain.com to point to yourdomain.com, you can use a CNAME. Many external services, like email marketing platforms or ownership verification tools, also require CNAME records.

MX Record (Mail Exchange)

MX records indicate the server responsible for receiving emails for your domain. If you use Gmail, Outlook, or Zoho, you’ll see that each one tells you which servers to enter and with what priority. If these records are misconfigured, you won’t be able to receive emails, or they may get lost along the way.

TXT Record (Text)

This type of record is used to add additional information to the domain. The most well-known ones are those used for email authentication: SPF, DKIM, and DMARC. It’s also used by services like Google Search Console or domain identity verification providers. Although they don’t directly affect your website’s loading, they are essential for preventing your emails from ending up in spam.

NS Record (Name Server)

These records indicate which DNS servers are responsible for your domain. When you change your nameservers to Cloudflare, your hosting provider, or another platform, you are actually modifying the NS records. They are the starting point for the entire domain’s DNS system.

SOA Record (Start of Authority)

Although it’s usually not modified manually, the SOA record contains administrative information about the domain. It indicates which is the primary DNS server, the responsible person, and various technical parameters that help servers synchronize changes.

In the end, all these records work together to ensure your domain functions correctly. Knowing what each one is for will allow you to troubleshoot problems faster, migrate your site without headaches, and avoid losing emails or experiencing website interruptions.

If you’re setting up a new domain or adjusting an existing one and need help with a specific record, feel free to contact me—I’d be happy to lend a hand.