DNS record types explained simply
Updated 10/23/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 pricingRelated tutorials
How to find your IP address on Windows: public and local
Find your public IP address in a second and your local IP from Settings, Command Prompt or PowerShell, on Windows 10 and 11.
Updated 10/23/2026Networking & DNSHow to find your IP address on Linux: public and local
Find your public and local IP address on Linux: ip addr, hostname -I, GNOME Settings and the right way on a headless server.
Updated 10/23/2026Networking & DNSEmail DNS records: SPF, DKIM and DMARC
Set up SPF, DKIM and DMARC so your emails reach the inbox, not spam.
Updated 10/23/2026