[net-dns-users] AXFR of root zone

Dick Franks rwfranks at acm.org
Sun Sep 28 22:42:41 UTC 2014


On 28 September 2014 21:12, Ronald F. Guilmette <rfg at tristatelogic.com>
wrote:

>
> I need to be able to do an AXFR on the root zone.
>
> I tried this and got nothing:
>
> ========================================================================
> #!/usr/local/bin/perl -w
>
> use Net::DNS;
>
> my $resolver = Net::DNS::Resolver->new;
>
> my @root_zone = $resolver->axfr ('.');
>
> foreach my $rr (@root_zone) {
>   $rr->print;
> }
> ========================================================================
>
> OK, so how may I AXFR the root zone?

You can not.


> There must be some trick I am missing.
>


1) Your script fails because your local nameserver is not authoritative for
the root zone.

2) Directing the request at one of the 13 root nameservers will also fail
because, in common with the majority of operators, the good people who run
the 13 authoritative root nameservers refuse AXFR requests.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/net-dns-users/attachments/20140928/1937fbaa/attachment.htm>


More information about the net-dns-users mailing list