What Is an A Record?
Last updated
Table of Contents
- What is an A record?
- How A records work
- Common uses for A records
- Managing A records in DNSimple
- Have more questions?
What is an A record?
An A record (record type 1) maps a domain name to an IPv4 address. The “A” stands for Address. When someone visits www.example.com, the A record tells their device which server IP (like 192.0.2.1) to connect to.
A records are one of the most common DNS record types. When you open a website, send email, or connect to an online service, DNS typically uses A records (or their IPv6 counterpart, AAAA records) to turn domain names into addresses.
How A records work
When you type a domain name like www.example.com into your browser:
- Your computer’s DNS resolver asks for the IP address associated with
www.example.com. - The query reaches the domain’s authoritative name servers, for example DNSimple’s name servers if the domain uses DNS hosting at DNSimple.
- The name server finds an A record for
www.example.compointing to an IPv4 address (for example,192.0.2.1). - The name server sends that IP address back to your resolver.
- Your browser connects to the server at that address.
Common uses for A records
Most A records point a domain at the server that runs a website, mail server, or other online service.
You can add more than one A record for the same domain, each with a different server IP. Resolvers and browsers spread requests across the addresses, so traffic is shared between servers. Many clients also try another address if the first one does not respond. DNS keeps returning every address, though, including one whose server is down, so this gives basic redundancy, not health-checked failover.
Different domain names can also point to the same IP address, each with its own A record. This is common when you host several sites on one machine.
The A record format is defined in RFC 1035, Section 3.4.1.
Managing A records in DNSimple
You can add, edit, and delete A records in the DNSimple record editor. For steps, see Manage A Records.
Have more questions?
If you have additional questions or need any assistance with your A records, contact support, and we’ll be happy to help.