A DNS Master zone file has been transferred to a slave, but I cannot read the zone file:
> less db.example.com
"db.example.com "may be a binary file. See it anyway?
This happened after I used this command:
cp -r /usr/local/sbin/* /usr/sbin/.
I installed bind V.9.9 instead of V.9.6. I would like to be able to read the zone file as plain text.
Best Answer
Slave zone data files in BIND 9.9 are in "raw" format by default. You can convert "raw" format zone files to "text" format using the named-compilezone utility that comes with BIND.
raw to text:
text to raw: