Parsing an AXFR zone transfer into a name record
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Tue Dec 4 00:14:34 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).
>
It's not required for BIND 9 and leaving it there will catch
answers from broken servers that update zones contents but fail
to tear down the connection.
Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list