Skip to content

Zone diff

Compare two zone files record by record: what was added, removed or changed.

Runs in your browser. Nothing you paste is uploaded.

Paste two versions of a zone to compare them.

What the zone diff compares

This tool compares two BIND zone files and shows what changed between them, record set by record set: what was added, what was removed, and what changed. It parses both files, uses the first file’s zone name as the origin for the second, and plans the difference. It runs in your browser; nothing you paste is uploaded.

How to use it

Paste the earlier version under Before and the newer one under After. For example, changing one address and adding a record:

; Before
@   IN A     192.0.2.10
api IN A     192.0.2.20

; After
@      IN A     192.0.2.11
status IN CNAME example.statuspage.io.

Reading the results

A summary row tallies added, changed, removed and unchanged record sets. Added and removed records are listed in their own panels; changed records show the old values (in red) above the new values (in green). Any lines that could not be read in either file are counted as ignored.

What it can miss

It diffs the files you give it, not live DNS — neither side has to match what a nameserver is actually serving. Records are grouped into sets by name and type, so re-ordering values within a set is not a change. Unreadable lines are skipped, so a diff can look smaller than reality if a file has parse errors.

Next steps