[dns-operations] zone format bind9

Randy Bush randy at psg.com
Mon Feb 11 20:11:47 UTC 2013


a remote master has gone sick.  i need to restore an older zone file.
the file(s) on backup are in binary format.

if i stick an old one in the directory and restart bind,

    psg.com:/usr/home/randy/public_html# dig @rip cctld. soa

    ; <<>> DiG 9.4.3-P2 <<>> @rip cctld. soa
    ; (1 server found)
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 21371
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;cctld.                            IN      SOA

    ;; Query time: 0 msec
    ;; SERVER: 147.28.0.39#53(147.28.0.39)
    ;; WHEN: Mon Feb 11 20:07:08 2013
    ;; MSG SIZE  rcvd: 20

and

    rip.psg.com:/usr/home/dns/secondary# named-compilezone -f raw -F text -i none -o - cctld cctld
    dns_master_load: unsupported file format version
    zone cctld/IN: loading from master file cctld failed: not implemented

i am not in love with this binary format <bleep>

clue bat?

randy



More information about the dns-operations mailing list