Skip to content

Understand A, CNAME and MX DNS records Print

  • 0

DNS records direct website, email and other domain services. Replacing a working record with an incorrect value can interrupt a service. Do not change records just to try an example; obtain the approved destination from the actual provider first.

An A record associates a name with an IPv4 address. Use the address actually delivered for your hosting service, not an unconfirmed value from an article or search tool. An AAAA record may be used for IPv6 only when the destination supports it.

A CNAME record aliases a subdomain to another hostname, such as an approved destination for www. Root-domain restrictions vary between DNS providers, so not every example works at the root. Avoid conflicting records for the same name.

MX records identify incoming mail servers and their priorities. Copy the actual mail provider’s values accurately. Updating the website A record normally does not require deleting MX; confusing the two can interrupt incoming email while the website remains reachable.

Also review TXT records used for verification and SPF, DKIM or DMARC when your provider requires them. Do not invent policy values or create conflicting SPF records. Keep a copy of existing settings and record change times for troubleshooting.

Open the DNS panel that actually controls the domain, rather than any hosting panel. If nameservers point to an external provider, changing a non-authoritative DNS copy may have no effect. Ask support when the management location is unclear.

Check before continuing

After a change, test the website and relevant incoming and outgoing email. Cached answers can remain until TTL expires. Share the public settings, issue and change time with support, while masking verification keys or other private information in attached screenshots.

Related links


Was this answer helpful?

« Back