DNS record types

Created on 6 August, 2024Guides • 1 minutes read

Most common DNS record types:

  • The A record maps a DNS domain name to its 32-bit IPv4 address.
  • The AAAA record maps a DNS domain name to its 128-bit IPv6 address.
  • The CNAME record establishes an alias for the domain name. All DNS entries and subdomains are also valid for the alias.
  • The MX record maps the DNS domain name to the mail server name and its priority, which determines the order with increasing values.
  • The PTR record maps an IPv4 or IPv6 address to the canonical name of the host. Specifying a PTR record for a hostname in the in-addr.arpa (IPv4) or ip6.arpa (IPv6) domain, which corresponds to an IP address, allows you to implement reverse DNS address translation, or so-called reverse DNS.
  • NS record maps a domain name to a list of DNS servers for that domain.
  • SOA record specifies the DNS server that provides authoritative information about an Internet domain, including its parameters (e.g. TTL).
  • SRV record allows you to include additional information about the location of a given service provided by the server pointed to by the DNS address.
  • TXT record – this record allows you to append any text to the DNS record. This record can be used, for example, to implement the Sender Policy Framework (SPF) specification or to verify domain ownership, for example, in Google services.


Source: Wikipedia