Hostwinds Tutorials

Search results for:


Table of Contents


DNS Terminology
Most Common DNS Record Types
A Record (Address Record)
AAAA Record (IPv6 Address Record)
CNAME Record (Canonical Name Record)
MX Record (Mail Exchange Record)
TXT Record (Text Record)
NS Record (Name Server Record)
SOA Record (Start of Authority Record)
SRV Record (Service Record)
PTR Record (Pointer Record)
Additional DNS Record Types
CAA Record (Certification Authority Authorization Record)
DNSKEY Record (DNS Key Record)
DNAME Record (Delegation Name Record)
NAPTR Record (Name Authority Pointer Record)

Types of DNS Records

Tags: DNS 

DNS Terminology
Most Common DNS Record Types
A Record (Address Record)
AAAA Record (IPv6 Address Record)
CNAME Record (Canonical Name Record)
MX Record (Mail Exchange Record)
TXT Record (Text Record)
NS Record (Name Server Record)
SOA Record (Start of Authority Record)
SRV Record (Service Record)
PTR Record (Pointer Record)
Additional DNS Record Types
CAA Record (Certification Authority Authorization Record)
DNSKEY Record (DNS Key Record)
DNAME Record (Delegation Name Record)
NAPTR Record (Name Authority Pointer Record)

DNS records are important parts of the Domain Name System (DNS). There are over 30 record types, each serving as a database entry that provides specific information about a domain, including its IP address, mail servers, and security. These records are stored in DNS zone files and managed by DNS servers.

For example, when a user types a domain name into their web browser, DNS records are used to translate that domain name into an IP address, allowing the browser to locate and load the website.

Knowing about different DNS record types can help you manage your website and ensure your online services run smoothly.

DNS Terminology

Before diving into specific DNS record types, it's helpful to understand some basic DNS terminology. Here are a few key terms you will encounter when working with DNS records.

  • Resource Record: The basic data element in the DNS. Each record specifies information about a domain.

  • Name: The domain name to which the record applies.

  • TTL (Time to Live): The duration for which the record is cached by DNS resolvers.

  • Class: Specifies the protocol family. IN (Internet) is the most common.

  • Type: The type of DNS record (e.g., A, AAAA, CNAME).

  • Data: The specific data for the record, such as an IP address.

  • Zone Files: Files that contain mappings between domain names and IP addresses.

  • Nameserver: A server that manages DNS records for a domain.

Most Common DNS Record Types

Each DNS record type  has a specific function, which helps in managing domain names and ensuring proper routing of internet traffic.

A Record (Address Record)

An A Record, or Address Record, links a domain name to an IPv4 address. This is one of the most common DNS record types and is essential for directing traffic to the correct IP address. It makes it possible for users to type a domain name into their browsers instead of needing to remember an IP address.

read-more-icon-01.webpRead More: How to Add/Modify an A Record

AAAA Record (IPv6 Address Record)

Similar to the A Record, the AAAA Record connects a domain name to an IPv6 address. As the internet grows, IPv6 addresses are becoming more important because they provide a much larger pool of addresses than IPv4.

CNAME Record (Canonical Name Record)

A CNAME Record, or Canonical Name Record, allows one domain name to alias, or point to, another. This means you can have multiple domain names pointing to the same IP address without creating separate records for each one. For example, you could have both www.example.com and ftp.example.com pointing to example.com.

MX Record (Mail Exchange Record)

MX Records are used to direct emails to the correct mail servers. By setting up MX records, you ensure that emails sent to your domain are routed to the right servers.

TXT Record (Text Record)

TXT Records allow you to add text to your DNS records. These records are often used for domain verification and email security. For example, they are used in SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) to help prevent email spoofing.

NS Record (Name Server Record)

NS Records show which DNS servers are authoritative for a domain. This means they tell the internet which servers hold the DNS records for your domain, ensuring DNS queries are directed to the correct servers.

SOA Record (Start of Authority Record)

The SOA Record contains important information about a domain, such as the primary DNS server, the email address of the domain administrator, and various timers that control how the DNS information is refreshed. SOA records are vital for managing DNS zones.

SRV Record (Service Record)

SRV Records specify the location of services like SIP (Session Initiation Protocol) servers or LDAP (Lightweight Directory Access Protocol) servers. They provide the hostname and port number for specific services, making it easier for clients to locate these services within a domain.

PTR Record (Pointer Record)

PTR Records are used for reverse DNS lookups. They map an IP address back to a domain name, which is the opposite of an A or AAAA record. PTR records are often used to verify server identities and ensure proper email delivery.

Additional DNS Record Types

There are additional though less commonly used DNS record types, which can still be very useful depending on your needs. These records help with security, service discovery, and managing larger domain structures.

CAA Record (Certification Authority Authorization Record)

CAA Records specify which certificate authorities are allowed to issue certificates for a domain. This helps prevent unauthorized issuance of SSL/TLS certificates, enhancing domain security.

DNSKEY Record (DNS Key Record)

DNSKEY Records are part of DNSSEC (DNS Security Extensions) and store public keys used to verify DNSSEC signatures. These records ensure the integrity and authenticity of DNS data.

DNAME Record (Delegation Name Record)

DNAME Records alias an entire subtree of the DNS to another domain. This means all subdomains of a domain can be redirected to a different domain, which is useful for large-scale domain management.

NAPTR Record (Name Authority Pointer Record)

NAPTR Records are used for dynamic delegation and service discovery. They often work with SRV records to provide additional information about services within a domain.

Written by Hostwinds Team  /  June 5, 2021