CloudLinux.ro
Networking & DNS

DNS record types explained simply

Updated 7/20/2026

DNS is the internet's address book: it translates domain names into IP addresses and routes services. Here are the record types you will use most.

A and AAAA

Link a domain to an IP address. A for IPv4, AAAA for IPv6.

example.com.       A       203.0.113.10
example.com.       AAAA    2001:db8::10

CNAME

An alias that points one name to another name (not directly to an IP):

www.example.com.   CNAME   example.com.

MX

Tells where email for the domain is delivered:

example.com.       MX  10  mail.example.com.

TXT

Free text, used for verification and email security (SPF, DKIM, DMARC), see SPF, DKIM and DMARC records.

NS

Points to the name servers that manage the domain. You set these at the registrar when you move DNS (for example to Cloudflare).

Next steps

To link a domain to your server, see How to point a domain to your VPS.

Put this guide into practice on your own VPS

EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.

See pricing

Related tutorials