Quick facts
| Record type | A (address), type value 1 |
| Defined in | RFC 1035 |
| What it holds | One IPv4 address (32 bits) |
| Where it can live | Any name, including the apex (example.com) |
| Typical TTL | 60 seconds on Bridge DNS (Auto); 300–3600 seconds elsewhere |
| Bridge DNS support | Yes: editable, with an optional proxy switch |
What does the A stand for?
It stands for address. Each entry ties one name to one IPv4 address, and a name can carry several of them. The address is the only data the record holds. There's no port, no path and no protocol. That's why this record type can send visitors to a server, but it can't send them to https://example.net/landing.
For the IPv6 equivalent, see the AAAA record. Most sites publish both.
What a DNS A record looks like
In the zone-file format from RFC 1035, a single entry is one line:
www.example.com. 60 IN A 203.0.113.10
Field by field:
- Owner name:
www.example.com.is the name being described. In a zone file,@stands for the apex. - TTL:
60is how many seconds resolvers may cache the answer. - Class:
INis the internet class. You'll never need another one. - Type:
A. - RDATA:
203.0.113.10is the IPv4 address itself, written in dotted decimal.
Here's a small but realistic DNS A record example for a site with an API on a second server:
@ 60 IN A 203.0.113.10
www 60 IN A 203.0.113.10
api 60 IN A 198.51.100.25
What A records are used for
You'll reach for A records in four situations:
- The root domain.
example.comitself needs an IPv4 or IPv6 address to load a website. A CNAME isn't allowed there. - The
wwwname. Use an address or a CNAME. More on that choice below. - Any subdomain on its own server, like
api,shoporstatus. - Hostnames other records point to. An MX record names a mail host such as
mail.example.com, and that host needs its own address.
How to add an A record in Bridge DNS
Adding one takes about a minute in the zone editor. Wondering how to check a record in DNS afterwards? That's covered further down.
- Choose Add record and pick type A.
- Enter the name:
@for the root domain, or a label likewwworapi. - Enter the IPv4 address of your server, for example
203.0.113.10. - Leave TTL on Auto (60 seconds) unless you have a reason to change it.
- Decide whether to switch on the proxy (see below), then save.
The record is live on our nameservers within seconds. Resolvers that cached an older answer will pick up the new one when their cached copy expires.
Pointing the root domain
The root domain, or apex, is the bare example.com. Create an entry of type A with the name @ and your server's IPv4 address. Bridge DNS manages the apex SOA and NS records for you, so your address sits right next to them without conflict.
Pointing www to a web server
You have two clean options for www:
- A second address entry with the same IP as the apex. That's simple, but you update two records when the server moves.
- A CNAME from
wwwtoexample.com. Then you only maintain the apex address.
Either works. If you're unsure which to pick, see when to use a CNAME.
Proxied A records in Bridge DNS
Every A and AAAA entry in Bridge DNS has a proxy switch. With proxying off, the record answers with the exact address you typed. With proxying on, the public answer is a Bridge edge address. Web traffic is then forwarded to your server, and that record does not publish the origin IP.
That changes what dig shows you. A proxied name returns the edge address, not yours. That's expected. Keep mail hosts and other non-web names DNS-only, because the proxy only handles HTTP and HTTPS. Ports, the Host header and origin TLS are covered in proxied vs DNS-only records.
How to check the answer with dig
Ask a Bridge nameserver directly. You'll see exactly what you published:
dig @ns1.bb-ns.com example.com A +short
203.0.113.10
Then ask a public resolver, and look at the TTL column. It counts down to zero and refreshes:
dig @1.1.1.1 example.com A
;; ANSWER SECTION:
example.com. 42 IN A 203.0.113.10
On Windows, nslookup example.com gives the same answer in plainer form. If the nameserver is right and the resolver is wrong, you're looking at a cached value, and it clears within the TTL.
Common mistakes with A records
- A hostname in the value field. The value field takes an IP address only. To point at a name, use a CNAME.
- A and CNAME on the same name. A name with a CNAME can't hold any other data (RFC 1034), so the two conflict. Delete one.
- A leftover second address. Two A records on one name means resolvers return both, and some visitors land on the old server. Remove the stale one after a move.
- A private address in public DNS.
10.0.0.5or192.168.1.20works only inside your network. Everyone else gets a timeout. - Forgetting
www. The apex works,www.example.comdoesn't, and half your visitors typewww. - Proxying the mail host. Mail servers need the real address. Keep
mailDNS-only.
A vs AAAA vs CNAME
| A | AAAA | CNAME | |
|---|---|---|---|
| Points to | IPv4 address | IPv6 address | Another hostname |
| Allowed at the apex | Yes | Yes | No |
| Can share a name with other records | Yes | Yes | No |
| Proxy switch in Bridge | Yes | Yes | No |
Use A for IPv4, AAAA for IPv6, and CNAME when another service hands you a hostname instead of an address.
Limits and edge cases
- One address per record, many records per name. Publishing several A records on one name gives you DNS round robin. It spreads load, but there are no health checks. A dead server keeps getting traffic until you remove its record.
- No redirects. People search for a "DNS A record redirect," but DNS can't redirect a URL. It only returns an address. Redirects happen in the web server or at the edge.
- Subdomains are independent. An address on
example.comdoesn't covershop.example.com. Each subdomain needs its own record, or a wildcard*record. - IPv4 only. For IPv6, add an AAAA record next to it.
- Moving to a new server. If you've raised the TTL above Auto, lower it at least one full TTL period before the move. Otherwise resolvers keep sending visitors to the old address for as long as the old TTL allows. Proxied names don't have this problem, because their public answer stays the same.
All supported types are listed in DNS record types and setup.
Questions about A records
What does the A stand for?
An A record is a DNS record that maps a hostname to an IPv4 address. Resolvers return it when a browser or app asks where a name lives. It's defined in RFC 1035 as record type 1.
What does a typical entry look like?
example.com. 60 IN A 203.0.113.10 tells resolvers that example.com lives at 203.0.113.10, and that the answer may be cached for 60 seconds.
How do I add an A record to DNS?
In your DNS host's zone editor, create a new entry of type A. Set the name (@ for the root domain), enter the IPv4 address and save. In Bridge DNS it's live on our nameservers within seconds.
Can a domain have multiple A records?
Yes. Several A records on one name return several addresses, and clients pick one. That's basic load spreading, not failover. A server that goes down keeps receiving traffic until its record is removed.
Can A records redirect to another URL?
No. The record returns an IP address and nothing else. To send example.com to another URL, set up an HTTP redirect on the web server or at the edge.
Should www use A records or a CNAME?
Both work. A CNAME to the apex means you only update one address when the server moves. An address avoids an extra lookup. Pick whichever is easier for you to maintain.
How long do A records take to update?
On Bridge nameservers, seconds. Resolvers that cached the old address keep it until its TTL expires: 60 seconds with Auto TTL. If a proxied record keeps the same public edge address when you change the origin, resolvers can continue to use that address.