2

I have a primary (master) and a secondary (slave) BIND9 DNS on DEBIAN9. See full config here: old Post

root@server1:/etc/bind# named -v
BIND 9.10.3-P4-Debian <id:ebd72b3>

On my secondary NS (Nameserver) my zonefile /etc/bind/forward.my-domain.com is not readable.

I get something like: ^@^@^@^B^@^@^@^A[ p*^@^@^@^@^@^@^@^@

If my primary NS is going down the secondary server keeps the DNS tasks. Resolving works fine. How can I add new DNS enries until primary is back? It could also happens that primary can't be restored...

3

With BIND 9.9.x, the slave zone files are now saved in a default raw binary format. This was done to improve performance, but at the sacrifice of being able to easily view the contents of the files.

You can change this with the command:

zone "example.com" {
    masterfile-format text;
    ...
};

See also this link [wesmo.com] or the official documentation [isc.org].

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.