On Fri May 20 14:11:19 2016, bjornr@isnic.is wrote:
Show quoted text> Hello,
>
> The test program:
>
> #!/usr/local/bin/perl
> use Net::DNS;
> print 'Net::DNS ', Net::DNS->version, "\n";
> my $resolver = Net::DNS::Resolver->new();
> my $name = $ARGV[0];
> $resolver->nameservers($name);
> my @ip = $resolver->nameservers();
> print "$name\t@ip\n";
>
> Test 1: Using the Google resolver 8.8.8.8:
>
> [bjornr@dev-br ~]$ ./resolve.pl ns1.ipage.com
> Net::DNS 1.02
> ns1.ipage.com 66.96.142.163 66.96.142.162 66.96.142.116
> [bjornr@dev-br ~]$ ./resolve.pl ns1.ipage.com
> Net::DNS 1.05
> ns1.ipage.com 66.96.142.163 66.96.142.116 66.96.142.162
> [bjornr@dev-br ~]$ ./resolve.pl ns1.ipage.COM
> Net::DNS 1.05
> ns1.ipage.COM 66.96.142.163 66.96.142.116 66.96.142.162
>
> --- All nice ---
>
> Test 2: Using Bind 9.10 resolver (bind910-9.10.3P4)
>
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.is
> Net::DNS 1.05
> aker.isnic.is 193.4.58.91 2001:67c:6c:58:0:0:0:91
> [bjornr@dev-br ~]$ ./resolve.pl ns1.ipage.com
> Net::DNS 1.05
> ns1.ipage.com 66.96.142.163 66.96.142.116 66.96.142.162
> [bjornr@dev-br ~]$ ./resolve.pl ns1.ipage.COM
> Net::DNS 1.05
> unresolvable name: ns1.ipage.COM at ./resolve.pl line 6.
> ns1.ipage.COM
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.IS
> Net::DNS 1.05
> unresolvable name: aker.isnic.IS at ./resolve.pl line 6.
> aker.isnic.IS
> [bjornr@dev-br ~]$ ./resolve.pl aker.ISNIC.is
> Net::DNS 1.05
> unresolvable name: aker.ISNIC.is at ./resolve.pl line 6.
> aker.ISNIC.is
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.is
> Net::DNS 1.05
> aker.isnic.is 193.4.58.91 2001:67c:6c:58:0:0:0:91
>
> --- Fails when you change the case
>
> Test 3: Using Bind 9.10 resolver, same as above but with the option
> no-case-compress { any; };
>
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.is
> Net::DNS 1.05
> aker.isnic.is 193.4.58.91 2001:67c:6c:58:0:0:0:91
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.IS
> Net::DNS 1.05
> aker.isnic.IS 193.4.58.91 2001:67c:6c:58:0:0:0:91
>
> --- Everything works
>
> Test 4: Using Bind 9.8 (9.8.4.dfsg.P1-6+nmu2+deb7u10)
>
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.IS
> Net::DNS 1.05
> aker.isnic.IS 193.4.58.91 2001:67c:6c:58:0:0:0:91
> [bjornr@dev-br ~]$ ./resolve.pl aker.isnic.is
> Net::DNS 1.05
> aker.isnic.is 193.4.58.91 2001:67c:6c:58:0:0:0:91
>
> --- Everything works
>
> The discussion which matches this problem, and where I found the no-
> case-compress suggestion:
https://lists.isc.org/pipermail/bind-
> users/2016-March/096578.html
>
> My issue is not with external DNS resolvers, I only experience this
> issue with recent Bind 9.9 and Bind 9.10 servers as local resolvers.
>
> Kind regards,
> Björn
>
> ----- Original Message -----
> > From: "Dick Franks via RT" <bug-Net-DNS@rt.cpan.org>
> > To: bjornr@isnic.is
> > Sent: Friday, 20 May, 2016 5:24:08 PM
> > Subject: [rt.cpan.org #114351] p5-Net-DNS 1.05 problems
> >
> > <URL:
https://rt.cpan.org/Ticket/Display.html?id=114351 >
> >
> ...
> >
> >
> > Please can you boil your script down to a _small_ and convincing
> > example
> > using nameservers in the global internet, so that we can attempt to
> > repeat
> > your observations free of any influence from your local BIND
> > configuration.
> >
> >
Your test program is incomplete because it does not specify the default nameserver which will be used for the lookup inside nameservers(). It is unreasonable to expect me to install various versions and configurations of BIND on the off-chance of repeating your result.
If you are claiming a bug in Net::DNS, it is for you to furnish the evidence. If a particular version or configuration of BIND is an essential part of the experimental setup, then you need to make a suitable nameserver accessible from the global internet or identify one which already exists.