What are the main types of DNS records (A, AAAA, CNAME, MX, TXT, NS)?

A domain's DNS zone is made up of several types of records, each with a distinct role:

  • A — links a name (e.g. www.example.ro) to an IPv4 address (e.g. 185.34.x.x). The most common record type, used to point to the server hosting the site.
  • AAAA — same as A, but for an IPv6 address. Only needed if your server also has an IPv6 address.
  • CNAME — makes a name an "alias" for another name (e.g. blog.example.roexample.ro), without specifying an IP directly. Useful for external services (a CDN, a platform like Shopify) whose IPs can change. Important rule: a name that has a CNAME cannot, at the same time, have other records (A, MX, TXT) for that same name.
  • MX — points to the server that handles email sent to the domain. Each MX record has a priority (a lower number means higher priority) and must point to a name that itself has an A record, not directly to an IP.
  • TXT — stores arbitrary text in the DNS zone; most commonly used for domain-ownership verification and email security records like SPF and DMARC.
  • NS — points to the nameservers responsible for a DNS zone or subzone.
  • CAA — restricts which certificate authorities (CAs) are allowed to issue SSL certificates for your domain; if missing, any CA can issue certificates for your domain.

All of these records are managed from the domain's DNS zone, available in your EUReg customer account if you use EUReg's nameservers, park1.eureg.ro / park2.eureg.ro.