DNS Records: A, CNAME, MX, and TXT Explained

DNS records are instructions for a domain. They tell browsers where the website lives, mail servers where to deliver email, and third-party services how to verify ownership.

A Records

An A record points a hostname to an IPv4 address. It is commonly used for the root domain, such as example.co.uk.

AAAA Records

An AAAA record points to an IPv6 address. Use it only if the destination service supports IPv6 for that hostname.

CNAME Records

A CNAME points one hostname to another hostname. It is often used for www, shops, portals, and third-party services.

MX Records

MX records control where email for the domain is delivered. They should point to your chosen email provider.

TXT Records

TXT records are used for SPF, DKIM, DMARC, and service verification. Do not delete TXT records unless you know what relies on them.

Before changing nameservers, copy the full DNS zone. The records that look unimportant are often the ones keeping email or verification working.

Related Posts