Ever wondered how you magically land on google.com
after typing it into your browser? It’s not magic—it’s a brilliant system called DNS, and the heroes of this system are DNS record types. Think of them as the incredibly efficient digital signposts of the internet, guiding traffic and making sure your emails, website visits, and online activities get to the right place.
Understanding these records can feel like learning a secret code, but it’s much simpler than you think! Whether you’re a budding IT pro, a curious internet user, or a business owner wanting to understand your website better, you’ve come to the right place. Stick with us, and by the end of this guide, you’ll be able to talk about DNS like an expert.
Let’s demystify the 8 most common DNS record types together!
What Are DNS Records?
Imagine the internet is a giant city, and every website and server has a unique street address. But this address isn’t a simple name; it’s a long string of numbers called an IP address (like 142.250.199.78
). Could you imagine having to remember that number for every website you visit? Of course not!
That’s where the Domain Name System (DNS) comes in. It acts as the internet’s phonebook. You give it a human-friendly domain name (like informatra.com
), and DNS looks up the corresponding IP address.
The actual entries in this phonebook are the DNS records. Each one has a specific job, from directing website visitors to ensuring your emails land in your inbox.
1. The 'A' Record (Address Record)

The A record is the most basic and essential DNS record. Its job is simple: to point a domain name to a specific IPv4 address (the most common type of IP address).
What it does: Connects
yourdomain.com
to its numeric IP address.Example:
informatra.com
->192.0.2.1
Every website you visit has an A record. Without it, your browser wouldn’t know which server to connect to.
2. The 'AAAA' Record (Quad A Record)

The AAAA record is the modern cousin of the A record. It does the exact same thing—maps a domain to an IP address—but it points to a newer, longer type of address called an IPv6 address. As the internet grows, IPv6 is becoming more important.
What it does: Connects
yourdomain.com
to its IPv6 address.Example:
informatra.com
->2001:0db8:85a3:0000:0000:8a2e:0370:7334
3. The 'CNAME' Record (Canonical Name)

A CNAME record is like a signpost that points one domain name to another domain name, instead of directly to an IP address. It’s essentially a forwarding address. This is useful when you have multiple subdomains (like www.yourdomain.com
and blog.yourdomain.com
) that should all point to the same main content.
What it does: Forwards a domain or subdomain to another domain.
Example:
www.informatra.com
->informatra.com
This way, if the IP address for informatra.com
changes, you only need to update one A record, and the CNAME for www
will automatically follow.
A Deeper Look: The Most Common DNS Record Types
While there are many specialized records, the A, CNAME, and MX records are the trio you’ll encounter most often. Understanding how these three interact is a huge step towards mastering the fundamentals of how these different types of DNS records work together to make the internet function smoothly.
4. The 'MX' Record (Mail Exchanger)

Have you ever wondered how your email provider knows how to receive an email sent to you@yourdomain.com
? That’s the job of the MX record. It directs a domain’s email to the correct email servers.
What it does: Specifies the mail servers responsible for accepting emails on behalf of a domain.
Example: An MX record for
informatra.com
might point toaspmx.l.google.com.
(one of Google Workspace’s mail servers).
MX records also have a “priority” number, which tells the system which mail server to try first.
5. The 'NS' Record (Name Server)

If DNS is the phonebook, NS records tell the internet where to find that phonebook. An NS record specifies the “authoritative” DNS servers for a domain, which are the servers that hold all the official DNS records.
What it does: Delegates a domain to a specific set of DNS servers.
Example: When you buy a domain, it’s often assigned NS records like
ns1.yourdomainregistrar.com
andns2.yourdomainregistrar.com
.
6. The 'TXT' Record (Text Record)
The TXT record is the multi-tool of DNS. It lets a domain administrator store any text-based information. While that sounds vague, it’s incredibly useful for security and verification.
What it does: Provides text information to sources outside your domain.
Key Uses:
Email Security (SPF): SPF records, a type of TXT record, create a list of servers authorized to send email from your domain, which helps fight spam.
Domain Verification: Services like Google Search Console or Microsoft 365 ask you to add a specific TXT record to your domain to prove you own it.
7. The 'SOA' Record (Start of Authority)
The SOA record is like the title page of your domain’s DNS zone file. It doesn’t guide traffic, but it stores important administrative information about the domain, such as the email address of the administrator, when the domain was last updated, and how long servers should wait before refreshing.
8. The 'PTR' Record (Pointer Record)
A PTR record is the exact opposite of an A record. While an A record maps a domain name to an IP address, a PTR record maps an IP address back to a domain name. This is known as a “reverse DNS lookup.”
What it does: Resolves an IP address to its designated hostname.
Why it’s important: It’s mainly used as a security measure. Many email servers will check for a valid PTR record before accepting an incoming email to verify the sender isn’t a spam bot from a suspicious IP address.
How to Check DNS Records for a Website
Curious to see these records in action? You don’t need to be a hacker to look them up! You can use free online tools like MXToolBox or whatsmydns.net. Just type in a domain name, and you can inspect all of its public DNS record types.
Conclusion: You've Mastered the Basics!
See? That wasn’t so bad! You now have a solid understanding of the most important DNS record types that work tirelessly behind the scenes to power the internet. From the simple A record that guides your browser, to the MX record that delivers your email, each one plays a vital role.
We hope this guide has cleared things up for you. Keep following Informatra for more easy-to-understand tutorials on networking, cybersecurity, and all things tech!