DNS Records Explained: A Complete Beginner's Guide
Free online dns records explained: a complete beginner's guide. Process data instantly in your browser. No upload, no signup, fully private.
DNS Records Explained — A Complete Beginner's Guide
DNS (Domain Name System) is the phonebook of the Internet. When you type a domain, DNS records tell browsers and mail servers where to find it. Below are the 10 most common record types you'll encounter.
A Address (IPv4)
Maps a hostname to an IPv4 address. The most fundamental record — it tells resolvers where your domain lives on the IPv4 Internet.
Fields: Name: host (e.g. @, www) · TTL: cache time in seconds · Value: IPv4 address (e.g. 192.0.2.1)
example.com. 3600 IN A 192.0.2.1
AAAA Address (IPv6)
Maps a hostname to an IPv6 address. The IPv6 equivalent of an A record — needed for reachability on modern networks.
Fields: Name: host · TTL: seconds · Value: IPv6 address (e.g. 2001:db8::1)
example.com. 3600 IN AAAA 2001:db8::1
CNAME Canonical Name
Aliases one hostname to another. Commonly used to point www to the apex domain or to a third-party service (e.g. CDN).
Fields: Name: alias host · TTL: seconds · Value: target hostname
www.example.com. 3600 IN CNAME example.com.
MX Mail Exchange
Directs email to the mail server responsible for a domain. Includes a preference value for ordering multiple servers.
Fields: Name: domain · TTL: seconds · Preference: lower = higher priority · Value: mail server hostname
example.com. 3600 IN MX 10 mail.example.com.
TXT Text
Arbitrary text up to 255 chars per string. Used for SPF, DKIM, DMARC, domain verification, and other metadata.
Fields: Name: host · TTL: seconds · Value: text string(s)
example.com. 3600 IN TXT "v=spf1 include:_spf.google.com -all"
NS Name Server
Delegates a zone to authoritative name servers. Listed at the registrar and at the parent zone.
Fields: Name: zone · TTL: seconds · Value: nameserver hostname
example.com. 86400 IN NS ns1.example.com.
SOA Start of Authority
Defines the zone's authoritative metadata: primary nameserver, admin email, serial, refresh, retry, expire, and minimum TTL.
Fields: MNAME: primary nameserver · RNAME: admin email (dot-separated) · Serial, Refresh, Retry, Expire, Minimum
example.com. 3600 IN SOA ns1.example.com. admin.example.com. 2026010101 7200 3600 1209600 3600
PTR Pointer (reverse DNS)
Maps an IP address back to a hostname — the reverse of A/AAAA. Used in reverse DNS lookups (in-addr.arpa / ip6.arpa).
Fields: Name: reversed IP .in-addr.arpa · TTL: seconds · Value: hostname
1.2.0.192.in-addr.arpa. 3600 IN PTR example.com.
CAA Certification Authority Authorization
Restricts which CAs are allowed to issue certificates for the domain. A security best practice to prevent mis-issuance.
Fields: Name: host · TTL: seconds · Flags: 0 (issue) / 128 (issuewild) · Tag: "issue" / "issuewild" / "iodef" · Value: CA domain
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
SRV Service
Defines the location (host + port) of a service. Used by XMPP, SIP, Active Directory, and other service-discovery protocols.
Fields: Name: _service._protocol.domain · TTL: seconds · Priority, Weight, Port, Target
_sip._tcp.example.com. 3600 IN SRV 10 60 5060 sip.example.com.
Live DNS lookup
Queries happen directly from your browser via DNS-over-HTTPS (Cloudflare 1.1.1.1). No server-side proxy is involved.
How to Use
- Paste or type your text into the DNS Records Explained: A Complete Beginner's Guide input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is DNS Records Explained: A Complete Beginner's Guide?
DNS Records Explained: A Complete Beginner's Guide combines a structured reference for the ten core Domain Name System record types with an interactive live DNS-over-HTTPS (DoH) lookup tool. Developers, students, and site owners use it both to learn how A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, CAA, and SRV records work and to query real domains directly.
How It Works
The upper reference displays purpose, field definitions, and zone-file examples for all 10 DNS record types. Below, entering a domain matching /^[a-z0-9.-]+$/i and clicking Lookup sends a direct browser GET request (Accept: application/dns-json) to Cloudflare's public DNS-over-HTTPS endpoint (1.1.1.1) and formats RCODE status, TTL, and Answer records via formatDohResponse.
Common Use Cases
- Checking live DNS propagation — query A, AAAA, CNAME, or MX records for a domain directly from your browser via Cloudflare DoH
- Verifying SPF, DKIM, or domain ownership TXT records — inspect raw TXT responses and TTL values in zone-style output
- Learning DNS architecture — study all 10 standard record types alongside syntax examples before editing registrar DNS panels
- Auditing SSL certificate issuance permissions — look up CAA records and inspect status codes (NOERROR vs. NXDOMAIN)
Technical Details
Hybrid reference + network DoH client. Covers 10 DNS record types (A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, CAA, SRV). Live lookup validates /^[a-z0-9.-]+$/i, fetches https://cloudflare-dns.com/dns-query with Accept: application/dns-json, and maps DNS type codes via formatDohResponse.
FAQ
Is this DNS Records Explained: A Complete Beginner's Guide free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.