Subject: | Can't do AXFR |
Date: | Fri, 23 Mar 2018 11:03:26 +0100 |
To: | bug-Net-DNS [...] rt.cpan.org |
From: | rainer [...] ultra-secure.de |
Hi,
I'm trying to a an AXFR via p5-Net-DNS-1.14,1, running on FreeBSD
11.1-RELEASE-p8 amd64 to a server running FreeBSD 10.3-RELEASE-p12 amd64
and djbdns-ipv6-1.05.b23_21,1 compiled with the following options:
ADD_USERS : on
DNSCURVE : off
DUMPCACHE : off
IGNOREIP : off
IP6 : on
JUMBO : off
MAN : on
PERSISTENT_MMAP: on
SRV : on
I can do the axfr on the command line, using drill.
But if I run the example-program from the include documentation:
#!/usr/local/bin/perl
use Net::DNS;
my $res = Net::DNS::Resolver->new;
$res->tcp_timeout(20);
$res->nameservers("dns1.our.domain");
my @zone = $res->axfr("our.domain");
foreach $rr (@zone) {
$rr->print;
}
warn $res->errorstring if $res->errorstring;
I get:
NOERROR at ax.pl line 13.
How can I debug this.
This has worked previously, however I can't really pinpoint the version
I used previously because it was rather old.
It probably was Net-DNS-0.83
Any ideas?
Best Regards
Rainer