Export DNS Zones

Export the records ZoneWatcher has stored for a zone. Download one zone from its page, one check from the check page, or up to 200 zones as a zip from the zone list.

Where to export

On a zone, Export downloads the latest successful check in the format you pick. If that zone has never had a successful check, ZoneWatcher shows a warning and does not download a file.

On a check, Export downloads the records from that check, including an older check you opened from the zone history.

On the zone list, or on the zones table for a provider, select the rows you want and choose Export. Pick a format and download a zip. The zip holds one file per zone. A zone with no successful check is left out and named in skipped.txt. The export stops at 200 zones and asks you to narrow the selection.

Client users can export the zones they can view. The download does not change anything at the DNS provider.

Formats

Every export offers the same five formats.

  • BIND zone file (.zone) for a name server or another DNS host that imports BIND.
  • PowerDNS (.powerdns.zone) for a PowerDNS zone import.
  • CSV and Excel with the same columns: record id, name, type, content, TTL, priority, weight, port, and the other stored fields.
  • JSON with the domain, the check id, and those same record fields.

Internationalized domain names are written in punycode. Address records whose value is Parked are left out of BIND and PowerDNS files.

BIND files a name server can load

The file sets $ORIGIN to the zone. The apex is @. A single label, such as www, stays relative to that origin. A name that already contains a dot is written as an absolute name with a trailing dot, so mx1.example.com is not read as mx1.example.com.example.com. Hostname targets on MX, CNAME, NS, PTR, SRV, and SOA records follow the same rule, and a target of @ becomes the zone name.

Cloudflare stores an automatic TTL as 1. BIND and PowerDNS exports write that TTL as 300 seconds. The record stored in ZoneWatcher is unchanged.

Some providers, including Cloudflare and DigitalOcean, do not return an SOA or apex NS records. The BIND file adds an SOA, and it adds apex NS records from the nameservers stored on the zone, or from the latest WHOIS nameservers when the zone has none. When neither is known, the file adds a commented synthetic apex NS so the zone can still be loaded. A record ZoneWatcher could not parse is written as a comment, and the rest of the file is still valid.

PowerDNS files

An MX record's content is the mail host, and the priority is the priority field. An SRV record's content is the weight, port, and target. A CNAME, NS, or PTR target of @ is expanded to the zone name. The same Cloudflare automatic TTL of 1 is written as 300 seconds.

DNS security notes

A short email when we publish something useful. No product spam.

You're on the list. Check your inbox to confirm.

Never miss a DNS change again.
Start monitoring in minutes.