The main DNS record types
An A record maps a name to an IPv4 address and an AAAA record to an IPv6 address. MX records name the servers that accept mail, with priority numbers that set the order. NS records list the authoritative nameservers for the domain. CNAME records alias one name to another, and TXT records hold free text that services use for verification and email authentication, such as SPF. Read together, they show how a domain is wired: where the site lives and who handles mail.