zone files in bind-9.9

Carsten Strotmann cas at
Sun Jan 6 13:53:42 UTC 2013

Hello Feng,

Feng He <fenghe at> writes:

> I upgraded my BIND from 9.7 to 9.9.
> For BIND 9.7 all zone files under /var/cache/bind are clear textes.
> But under BIND 9.9 it seems the zone files are binary format.
> So how can we check the content of zone files now?

you can use "named-compilezone" to convert from RAW-Format to Text-Format.

Or you can use "dig" with axfr to get a zone-transfer from the server
(dig @server axfr zone.tld).

You can change the format for writing zone files in the named.conf if
you prefer the text format files.

-- Carsten

More information about the bind-users mailing list