DNS A & AAAA Record Generator — BIND Zone and Cloudflare Import
Generate BIND zone and Cloudflare formatted A (IPv4) & AAAA (IPv6) DNS zone records.
| Input | Owner | TTL | Type | RDATA |
|---|---|---|---|---|
@ 192.0.2.10! documentation (test-net-1) address (192.0.2.0/24): only useful in internal DNS or documentation | example.com. | 3600 | A | 192.0.2.10 |
www 192.0.2.10! documentation (test-net-1) address (192.0.2.0/24): only useful in internal DNS or documentation | www.example.com. | 3600 | A | 192.0.2.10 |
@ 2001:db8::10! documentation address (2001:db8::/32): only useful in internal DNS or documentation | example.com. | 3600 | AAAA | 2001:db8::10 |
www 2001:DB8:0:0::10! documentation address (2001:db8::/32): only useful in internal DNS or documentation | www.example.com. | 3600 | AAAA | 2001:db8::10 |
api 192.0.2.20 300! documentation (test-net-1) address (192.0.2.0/24): only useful in internal DNS or documentation | api.example.com. | 300 | A | 192.0.2.20 |
*.dev 10.20.0.5! private-use address (10.0.0.0/8): only useful in internal DNS or documentation | *.dev.example.com. | 3600 | A | 10.20.0.5 |
www 192.0.2.11! documentation (test-net-1) address (192.0.2.0/24): only useful in internal DNS or documentation | www.example.com. | 3600 | A | 192.0.2.11 |
A or AAAA is picked from the address. IPv6 is written in RFC 5952 compressed form. Duplicate records are written once and the TTLs of one set are made equal.
When to use the DNS A & AAAA Zone Record Generator
Type picked from the address
Write a name and an address, one per line. IPv4 becomes an A record and IPv6 an AAAA record, with IPv6 rewritten in RFC 5952 compressed form so 2001:DB8:0:0::10 and 2001:db8::10 are not stored twice.
Two zone formats
Choose a BIND zone with $ORIGIN and relative names for BIND, Knot or NSD servers, or a full FQDN per line for zone imports in Cloudflare, PowerDNS and other DNS panels. The .zone file downloads directly.
Name and TTL rules
Labels are at most 63 characters and names 253 (RFC 1035), with no leading or trailing hyphen, and a * wildcard only on the left. TTLs may be written 300, 1h or 1d, within 0 to 2147483647 seconds (RFC 2181).
Private addresses flagged
Private, CGNAT or documentation addresses are still written, but flagged as only useful in internal DNS or examples, not in a public zone.
Frequently asked questions
What does @ mean?
@ is the zone domain itself, such as example.com. Other names such as www are relative and become www.example.com.
Can I import it into Cloudflare?
Yes. Cloudflare accepts BIND-format zone files through its DNS import; the full FQDN format also works in PowerDNS and other panels.
Which TTL should I use?
3600 seconds suits records that rarely change. Lower it to 300 a few hours before a server move so the change spreads quickly.
Are internationalised domain names supported?
Yes. Unicode names become the xn-- (punycode) form DNS uses, following the browser's IDNA mapping.
Is my data sent to a server?
No. The zone is built in your browser, so internal server addresses stay private.
Similar tools
- DNS Propagation Checker (Cloudflare, Google, Quad9 & DNS.SB)Query Cloudflare 1.1.1.1, Google 8.8.8.8, Quad9 9.9.9.9 & DNS.SB concurrently with latency & TTL.
- Real-Time DNS Record Lookup (A, AAAA, MX, TXT, NS, SOA, CAA)Inspect live DNS zone records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) via DoH resolvers.
- Domain WHOIS & RDAP Registration LookupInspect domain registrar, status locks, nameservers and expiry dates via RDAP.
- Reverse DNS (PTR) IPv4 & IPv6 LookupConvert any IPv4/IPv6 to in-addr.arpa / ip6.arpa and query live PTR hostnames via DoH.