Verify raw data within slaves on 9.9.x

Mark Elkins mje at posix.co.za
Tue Jun 12 07:31:47 UTC 2012


On Mon, 2012-06-11 at 15:51 -0700, Walter Smith wrote:
> Folks,
> 
> 
> What tools/commands I can run to get plain ascii/text data out of
> modern raw/binary on BIND 9.9.x slaves?
> I just want to verify that changes are correct down to the slaves. So
> - I can check-in these changes into svn etc.

If you always want 'ascii' - then configure it so in 'named.conf'....

zone "example.com" {
        type slave;
        file "sec/db.example.com";
        masterfile-format text;
        masters {
                192.168.1.1;
        };
};

However - I guess its a little less efficient than the new default 'raw'
mode, especially for large zones. Consider a change of approach and if
its just an automated check - try 'dig'? I'm finding with in-line
signing that zones are often spread about in journal files - which makes
options like 'dig' a better way to go. Otherwise - you may have to first
run 'rndc sync -clean the.zone'.

-- 
  .  .     ___. .__      Posix Systems - (South) Africa
 /| /|       / /__       mje at posix.co.za  -  Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS  Tel: +27 12 807 0590  Cell: +27 82 601 0496

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4007 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20120612/c1a8b517/attachment.bin>


More information about the bind-users mailing list