DNS Records Guide

TypePurposeExample Value
AMaps domain to IPv4 address93.184.216.34
AAAAMaps domain to IPv6 address2606:2800:220:1:248:1893:25c8:1946
CNAMEAlias — points to another domainwww → example.com
MXMail exchange — directs emailmail.example.com (priority 10)
TXTText data — SPF, DKIM, verificationv=spf1 include:_spf.google.com ~all
NSName servers for the domainns1.example.com
SOAStart of Authority — zone infoPrimary NS, serial, refresh
PTRReverse DNS — IP to domainmail.example.com
SRVService location records_sip._tcp.example.com
CAAAuthorized Certificate Authorities0 issue "letsencrypt.org"
Common DNS commands:
nslookup example.com
dig example.com A
dig example.com MX
dig +short TXT example.com