DNS zone file generator
Turn a plain list of DNS records into a BIND-style zone file.
DNS zone file generator
Paste a list of DNS records, one per line, and this tool writes a complete BIND-style zone file around them — the $ORIGIN and $TTL directives, a filled-in SOA record, and every record you listed with its columns aligned the way a hand-written zone file looks. It suits anyone who manages authoritative DNS directly: standing up a new domain, migrating a zone between providers, or keeping a version-controlled copy of records a control panel normally hides.
Each line takes the form "name type value" — for example "www A 192.0.2.10" or "@ MX 10 mail.example.com". A, AAAA, CNAME, NS and PTR take a single value; MX takes a priority and a target; SRV takes priority, weight, port and target; CAA takes flags, a tag and a value. TXT is the one exception worth knowing: DNS limits a single character-string to 255 bytes, so a longer SPF or DKIM value is split automatically into multiple quoted strings instead of producing an invalid record.
The options bar sets the zone-wide values: origin domain, default TTL, and every SOA field — primary nameserver, responsible-party email (converted to the dotted rname DNS expects), serial, refresh, retry, expire and minimum. A blank serial is filled in with today's date as YYYYMMDDnn. Record names print relative to the origin or fully qualified with a trailing dot, your choice. If a name carries both a CNAME and another record — something DNS itself forbids — the file flags it with a warning comment instead of silently producing something a nameserver will reject.
Everything runs in your browser; the record list and every option stay on your device. Copy the result, download it as a .txt file ready to rename to your zone file, or send it to another tool's input to keep working on it.