Free Consultation Pricing Blog Careers About
Free IT Reference

DNS Record Reference Guide

Every DNS record type explained with real examples, use cases, and best practices. Covers A, AAAA, MX, CNAME, TXT, SPF, DKIM, DMARC, NS, SOA, PTR, and SRV records. The reference guide IT professionals actually need.

DNS Lookup
Enter a domain name to look up its DNS records. Powered by Google Public DNS.
DNS Record Types
AAddress RecordMaps hostname to IPv4 address

The A record is the most fundamental DNS record. It maps a domain name to an IPv4 address. When someone types your domain into a browser, the A record tells the browser which server IP to connect to.

echoflare.ca. 300 IN A 172.31.24.225
Best practice: Use a low TTL (300s) during migrations so DNS changes propagate quickly. Use a higher TTL (3600s+) for stable production records to reduce DNS lookup overhead.
AAAAIPv6 Address RecordMaps hostname to IPv6 address

The AAAA record (quad-A) is the IPv6 equivalent of the A record. It maps a domain name to an IPv6 address. As IPv6 adoption grows, having AAAA records alongside A records ensures compatibility.

echoflare.ca. 300 IN AAAA 2600:1f16:a44:3701::1
Best practice: If your hosting supports IPv6, always add AAAA records alongside A records for dual-stack compatibility.
CNAMECanonical NameAlias one domain to another

A CNAME record creates an alias from one domain to another. The aliased domain inherits the DNS records of the target. CNAME records cannot coexist with other record types on the same name, and cannot be used on the zone apex (root domain).

www.echoflare.ca. 300 IN CNAME echoflare.ca.
Best practice: Use CNAME for www subdomains, CDN endpoints, and SaaS services. Never use CNAME on the root domain (echoflare.ca). Use an ALIAS or A record instead.
MXMail ExchangeRoutes email to mail servers

MX records specify which mail servers accept email for a domain. The priority value (lower = higher priority) determines the order servers are tried. Multiple MX records provide failover for email delivery.

echoflare.ca. 300 IN MX 10 mail.echoflare.ca. echoflare.ca. 300 IN MX 20 mail2.echoflare.ca.

For Microsoft 365:

echoflare.ca. 3600 IN MX 0 echoflare-ca.mail.protection.outlook.com.
Best practice: Always have at least two MX records for redundancy. For M365, point to the protection.outlook.com address provided in your tenant admin.
TXTText RecordArbitrary text, used for verification and email auth

TXT records store arbitrary text data in DNS. Their most important use today is email authentication (SPF, DKIM, DMARC) and domain verification for services like Google, Microsoft, and SSL providers.

echoflare.ca. 300 IN TXT "v=spf1 include:_spf.google.com ~all" echoflare.ca. 300 IN TXT "google-site-verification=abc123..."
Best practice: You can have multiple TXT records on the same domain. Keep SPF, DKIM, and DMARC as separate TXT records. See the Email Authentication section below for detailed SPF/DKIM/DMARC guidance.
NSNameserverDelegates zone to nameservers

NS records delegate a DNS zone to specific authoritative nameservers. They tell the internet which DNS servers hold the official records for your domain. NS records are set at your domain registrar.

echoflare.ca. 86400 IN NS ns1.cloudflare.com. echoflare.ca. 86400 IN NS ns2.cloudflare.com.
Best practice: Use at least two nameservers for redundancy. Managed DNS providers like Cloudflare, Route 53, and Azure DNS handle this automatically.
SOAStart of AuthorityZone metadata and serial number

The SOA record contains metadata about a DNS zone: the primary nameserver, the responsible email, the zone serial number, and timing parameters for zone transfers and caching. Every DNS zone has exactly one SOA record.

echoflare.ca. SOA ns1.cloudflare.com. dns.cloudflare.com. ( 2024031101 ; Serial 3600 ; Refresh 600 ; Retry 604800 ; Expire 300 ) ; Minimum TTL
Best practice: The serial number must increment with every zone change. Managed DNS providers handle this automatically. The minimum TTL sets the negative caching duration (how long resolvers cache NXDOMAIN responses).
PTRPointer RecordReverse DNS, maps IP to hostname

PTR records are the reverse of A records: they map an IP address back to a hostname. Used primarily for reverse DNS lookups, which are important for email deliverability and security verification.

225.24.31.172.in-addr.arpa. 300 IN PTR mail.echoflare.ca.
Best practice: Always configure PTR records for mail servers. Many receiving mail servers reject email from IPs without valid reverse DNS. Your hosting provider or ISP manages PTR records for your IP addresses.
SRVService RecordLocates services like SIP, XMPP, LDAP

SRV records specify the hostname, port, priority, and weight for a service. Used by protocols like SIP (VoIP), XMPP (chat), LDAP, and Microsoft Active Directory for service discovery.

_sip._tcp.echoflare.ca. 300 IN SRV 10 60 5060 sipserver.echoflare.ca.

Format: _service._protocol.domain. TTL IN SRV priority weight port target

Best practice: SRV records are commonly required for Microsoft Teams direct routing, SIP trunking, and Skype for Business. Check your VoIP provider's documentation for required SRV records.
Email Authentication: SPF, DKIM, DMARC
The three DNS records that prevent email spoofing, improve deliverability, and protect your domain reputation. All three should be configured for every domain that sends email.
Need help with DNS and email authentication?
Echoflare configures SPF, DKIM, and DMARC for every client. We also manage DNS as part of our Microsoft 365 managed services and managed hosting.
Talk to Us