DNS record types explained simply
Updated 11/29/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 use Cloudflare for DNS, cache and protection
Cloudflare offers fast DNS, global cache and basic protection for free. Here is how to connect it to your server.
Updated 11/29/2026Networking & DNSEmail DNS records: SPF, DKIM and DMARC
Set up SPF, DKIM and DMARC so your emails reach the inbox, not spam.
Updated 11/29/2026Networking & DNSHow 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 11/29/2026