A
A — IPv4 address
What it does
Maps a hostname to an IPv4 address. The most fundamental record: without it, browsers can't find your server.
When to use
Point a domain or subdomain at a server's IPv4 address. Required for apex domains (example.com) where CNAMEs aren't allowed.
Format
Hostname → IPv4 (four 0–255 octets, dotted)
Examples
@ A 192.0.2.10 www A 192.0.2.10
Common gotchas
- TTL too low (<60s) hammers your DNS bill; too high (>1d) makes failover slow.
- Multiple A records = round-robin load balancing, NOT health-checked failover.
- You cannot put a CNAME and an A record on the same name.
How to troubleshoot
- If site is unreachable: dig +short example.com — empty means no A record.
- If wrong IP serves: check for stale local /etc/hosts or browser DNS cache.
- If apex has no A: many providers offer ALIAS/ANAME as a workaround for hosting on Netlify/Vercel.