Skip to content

Zone file validator

Paste a BIND zone file to find syntax errors by line and get a clean, fully qualified copy.

Runs in your browser. Nothing you paste is uploaded.

Use the zone file checker

Paste a zone file, or use the example, to see results.

What the zone file validator checks

This tool parses a BIND-style zone file (RFC 1035 master file format) and reports syntax problems by line number, then prints a normalized, fully qualified copy you can download. It checks the syntax and structure it understands: directives such as $ORIGIN and $TTL, owner names, classes, TTLs, record types and their value formats. It runs in your browser; nothing you paste is uploaded.

How to use it

Paste a zone file, or load the example. A well-formed file looks like this:

$ORIGIN example.com.
$TTL 3600
@     IN SOA ns1.example.com. hostmaster.example.com. (
              2026093001 ; serial
              7200 3600 1209600 3600 )
@     IN NS  ns1.example.com.
@     IN A   192.0.2.10
www   IN A   192.0.2.10

Reading the results

A valid file shows a green result with the record-set count and the zone name. Problems are listed as line N with a message describing what could not be read; the badge reads Fix before importing. Below the result you get a per-type count of record sets and the normalized output, with owner names made fully qualified and values canonicalised, ready to download.

What it can miss

It validates syntax, not intent. A file can parse cleanly and still be wrong for your setup: a typo in an IP address, a missing record, or a value that is legal but points somewhere unintended. It also only understands the directives and record types it supports; an unusual construct may be reported as an error even where some servers would accept it. It does not check the records against live DNS.

Next steps