Skip to content
Live $100 credit at signup, up to $300 total Offer ends December 31, 2026 Get started →

A and AAAA Records

An A record maps a name to an IPv4 address. An AAAA record maps a name to an IPv6 address. Use these records to point a name to your server.

FieldExampleNotes
Name@ or wwwRelative to the zone. @ is the apex.
TypeA / AAAA
Content203.0.113.10An IPv4 (A) or IPv6 (AAAA) address
TTL14400Seconds. Default 4 hours.

Console (zone-file view):

@ A 203.0.113.10 14400
www A 203.0.113.10 14400
ipv6 AAAA 2001:db8::10 14400

CLI:

zcp dns record-create --domain examplecom --name @ --type A --content 203.0.113.10
zcp dns record-create --domain examplecom --name www --type A --content 203.0.113.10
zcp dns record-create --domain examplecom --name ipv6 --type AAAA --content 2001:db8::10

API: POST with { "name": "www", "type": "A", "content": "203.0.113.10", "ttl": 14400 }. See Manage DNS with the API.

dig A www.example.com +short # 203.0.113.10
dig AAAA ipv6.example.com +short # 2001:db8::10
  • Apex and IP address. Point the apex (@) at a fixed IP with an A or AAAA record. Do not use a CNAME at the apex. See CNAME.
  • Multiple addresses. Add several A records with the same name and different IPs to return multiple addresses. This provides simple DNS-based distribution without health checks.
  • Dual stack. Publish both an A and an AAAA record for a name to serve IPv4 and IPv6 clients.

See also: CNAME, Worked examples, Record types