Parsing an AXFR zone transfer into a name record

Barry Margolin barmar at genuity.net
Mon Dec 3 23:23:19 UTC 2001


In article <9uh11j$9p2 at pub3.rc.vix.com>, Jobe Bittman  <jobe at tns.net> wrote:
>Are there any tools out there for turning a domain transfer into a name 
>record? I cobbled together a little perl script to do this, but it only 
>deals with a few records types. I was hoping there was a robust tool out 
>there to do this sort of thing.

The output of "dig axfr" is in the same format as a DB file, so you
shouldn't need to do much.  The only problem is that it shows the SOA
record twice (at the beginning and end), so you should remove one of them
(I'm not sure this is actually *required* -- they should be identical, so
BIND may allow them both).

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list