Skip to content
ferkesh.HOSTING
Ferkesh Support Center Ferkesh Knowledge Base Frequently asked questions

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

The registrar delegates to nameservers, whose zone supplies separate values for web traffic and mail.

Find the place to edit first

DNS records are published by the domain's authoritative nameservers. Your registrar sets the delegation, but DNS can be managed in another account. Look up the domain's nameservers and compare them with the DNS service you intend to edit. An edit in an old hosting panel has no public effect if the domain no longer uses that panel's nameservers.

Common DNS records
RecordWhat the value represents
AIPv4 address.
AAAAIPv6 address.
CNAMETarget hostname for an alias.
MXReceiving mail server hostname, with a priority.
TXTText such as service verification or an SPF policy.

Pick the record for the task

An A record points a name to an IPv4 address. AAAA does the same for IPv6. A CNAME aliases one hostname to another hostname, such as when a website platform asks you to connect www.example.com. A CNAME generally cannot coexist with other records at the same name. If you need an alias at the domain apex, follow the DNS provider's documented apex option.

An MX record specifies the hostname that accepts incoming mail for a domain. Its priority affects which server is tried first. A TXT record carries text used for things such as service verification or SPF. Copy the exact hostname and value from the service's instructions. A value for receiving mail belongs in a different field from the text that authorizes outgoing senders.

Verify what changed

Save the old record, then edit only the entries required for your task. Check the intended hostname after publishing and compare the authoritative answer with the answer from a normal resolver. A cached old value may remain until its time to live expires. If the authoritative answer is wrong, inspect the record name and the active zone before waiting longer.

Open the website using the precise names you edited. If the web address works but the mail changes unexpectedly, compare the current mail records to your exported copy. Website hosting and business email can run at separate providers on the same domain.

If a host asks you to point the root domain at a hostname, read when to use CNAME flattening at the domain apex before editing the zone.

Official references

Ferkesh Hosting. Last reviewed .

Continue with these guides

When a service publishes its own discovery record, learn how to read an SRV record’s service, target and port.

Was this helpful?

Thanks for your feedback!

Still Need Help?

The support team is here around the clock for anything you can't find in the knowledge base.