In plain English The line in a domain's settings that says which server's address to send visitors to. Like a forwarding address card for your website.
An A record is the DNSDNS The internet’s phone book. It turns a name people can remember, like example.com, into the number address computers use to find the server. More about DNS → record that connects a name to an IPv4 address. When someone visits example.com, their resolver asks for its A record and gets back an address such as 203.0.113.10, which is the server the browser then connects to. The “A” stands for address.
What it looks like
| Name | Type | Value | TTL |
|---|---|---|---|
@ | A | 203.0.113.10 | 3600 |
www | A | 203.0.113.10 | 3600 |
@ means the bare domain. Most websites need a record for the bare domain and one for www, either a second A record or a CNAME. Check what a domain’s A record holds with:
dig example.com A +short
Things to know
- One name can have several A records. Resolvers then hand out the addresses in turn, which spreads visitors across servers. Two records left over from an old host split your visitors between the old and new server, so remove the old one when you move.
- Changing an A record is how you move a website to a new server. How quickly the change is seen depends on the record’s TTL.
- A records hold IPv4 addresses only. IPv6 addresses go in an AAAA record.