Net-DNS
view release on metacpan or search on metacpan
Empty question section in Base.pm search method detected
Fix rt.cpan.org #31042
Makefile corrected to add a library target.
Fix rt.cpan.org #29818
10-recurse.t used to fail in very specific environment (where a query for
qname="." and qtype="NS" would return with an empty additional section).
Fixed by adding the hints explicitly; this also forces the tests to take
place under the root served by a-m.root-servers.net
Fix rt.cpan.org #29877
Made 00-version.t recognize a "GIT" environment.
Fix rt.cpan.org #29878
SPF.pm did not evaluate as true. Thanks Bjorn Hansen.
Fix rt.cpan.org #21398
answersize() and answerfrom() set for persistent sockets
Fix rt.cpan.org #29883
Fix various tests only available through SVN, so they are
more robust (Acknowledgements Bjoern Hansen)
Fix rt.cpan.org #24343
Resolver's nameserver() method would do silly things with undefined
arguments.
Fix rt.cpan.org #29531
Nameserver.pm, Packet.pm and Question.pm modified to avoid erroneous PTR
lookup in response to mischievous query packet containing an IP address.
Fix rt.cpan.org #27970 better netdns.o
Marek Rouchal provided two minor improvements for linking the C
code snippets
Fix rt.cpan 28345
A fix in Test::Simple revealed an off by 1 error in the testplan
for 05-rr-rrsort.t. The fix is to remove a test, creating a dependency
on Test::Simple 0.71 seemed overkill.
*** 0.61, 1 August 2007
Fix rt.cpan.org #28106, 28198, and 28590
Modification of $_ in various places.
Fix
t/11-inet6 assumed lowercase domain names.
*** 0.60 20 June 2007
Fix spelling mistakes in change log using interactive spell checker (aspell).
Fix
Two redundant calls of $self->rdatastr() in Net::DNS::RR::string().
Fix rt.cpan.org #27285 bis
Unreleased 0.59_1 dn_expand_PP() has security flaw allowing access to
arbitrary data using crafted packet with out of range compression pointer.
Patch by Dick Franks based on 0.59 code.
Fix rt.cpan.org #27391
dn_compress() produces corrupt packet for name containing empty label.
Fix rt.cpan.org #26957
dn_compress() croaks for name having label which exceeds 63 characters.
Patch by Dick Franks truncates offending label.
Feature check_soa test of NCACHE TTL
Dick Franks supplied an improved version of check_soa script which
performs a direct test of NCACHE TTL by looking up non-existent name and
reporting value if it exceeds 86400. Test is skipped unless minimumTTL is
above same threshold. Recent BIND implementations impose a ceiling on
NCACHE TTLs internally, so a large minimumTTL value is unlikely to have
damaging consequences at many sites.
Fix rt.cpan.org #27285
Break out of malformed packets with compression loops.
Steffen Ullrich is acknowledged for patch and test code.
Feature check_zone "alternate domain" and "exception file" flags
Paul Archer supplied a patch for check_zone adding two new features.
Feature Support for IPSECKEY RR
Rudimentary IPSECKEY RR support added.
Fix rt.cpan.org #25342
HINFO would only accept its data fields within quotes. That has now
been fixed to adhere to <character-string> by inheriting parsing functions
from TXT.
Fix rt.cpan.org #24631 / Feature IP address prefix notation
Dick Franks supplied a cleaned up version of Question.pm.
Revised code deals with incomplete IPv6 address bug and accepts RFC4291
address prefix notation. IPv4/prefix also supported for completeness.
This involved a minor change to the API for reverse IP lookup. Changing
qtype to PTR is now performed for A and AAAA only. This allows queries
for NS and SOA records at interior nodes to be specified using the address
prefix. Type ANY queries now also produce the expected result.
Cleaned up TYPE/CLASS reversal code, exploiting fact that the intersection
of the sets of class and type names contains only one member (ANY).
Minor cleanup of remaining code.
the subversion number, not against the perl release version)
Net::DNS::SEC version 0.15 will have DLV support.
Partly Fixed rt.cpan.org 18940
djhale noticed a number of error conditions under which the
udp_connection in Nameserver dies. We now print a warning instead
of dying.
Fix rt.cpan.org 18958
Fixed typebyname croak for SIGZERO. Acknowledgments to djhale.
Optimize rt.cpan.org 11931
Hanno Stock optimized the method to get the list of available
interfaces in Win32. I have only done very rudimentary tests on
my Windows XP system.
Fix dependency on "CC" rt.cpan.org 19352
The Makefile.PL depended on availability of "cc" and would bail
out on systems where gcc is exclusively available. Thanks to Rob
Windsor for noticing and patching.
Fix compressed dnames in NAPTR/SRV
Clayton O'Neill noted that the domain names in the NAPTR and
SRV RRs rdata were subject to name compression which does not
conform to specs. Also see RFC 2782 and 2915.
Fix rt.cpan.org 18897
Zero-length rdata in TXT fixed (Acknowledgments to Roy Arends)
Fix rt.cpan.org 18785
SPF would not work unless the TXT RR was already loaded.
SPF fully inherits TXT and loading of TXT.pm is therefore a
prerequisite.
Fix rt.cpan.org 18713
Net::DNS::Resolver now deals gracefully with persistent sockets
that got disconnected. It will first try to connect again to the
socket and if that fails it will try to connect to the next
available nameserver. tcp_timeout() is the parameter that
determines how long to wait during a reconnect.
Fix rt.cpan.org 18268
Added reference to RFC in croak message for label length > 63 in
dn_comp().
Fix rt.cpan.org 18113
The inet6 tests contained another bug when online-tests were disabled.
Klaus Heinz discovered and provided a patch.
*** 0.57 February 24, 2006
Fix rt.cpan.org 17783
The inet6 tests do not skip enough tests when ipv6 is not available.
I did not catch this in my setup since IPv6 is available on all my
machines.
Since this breaks automatic CPAN installs a new release is
reasonable.
*** 0.56 February 20, 2006
Fix rt.cpan.org 17694
Net::DNS::typesbyval() now confesses on undefined
args. Acknowledgments to Dean Serenevy.
Feature Implemented SPF (typecode 99).
The class completely inherits from Net::DNS::RR::TXT (the easiest
RR to implement ever).
Feature added rrsort() function.
Feature was requested by Eric Hall in rt.cpan.org 13392
This was a little tricky as I think that the sort functions are in
fact RR specific class attributes that should be accessed through
class methods. This is difficult to implement. I do think I found a
fairly clean manner. It does require a global variable in Net::DNS
to store the functions and some trickery when the sorting functions
are defined.
See Net::DNS and Net::DNS::RR documentation for details.
Defaults sorting functions are currently implemented in
SRV: default sort: low priority to high priority and for
same preference highest weight first.
weight: sort all RRs based on weight, highest first
priority: see default sort
MX: default sort: lowest preference first.
preference: see default sort
NAPTR: default sort: lowest to highest order, for same order lowest
preference first
order: see default sort
preference: order on preference, lowest first
PX: See MX
RT: See MX
Fix rt.cpan.org 14653 and 14049
TCP fallback after V6 socket failure
Reworked Net::DNS::Base::Nameserver::send_tcp() to fallback to IPv4 when
possible. (change applied to SVN Revision 538).
Feature Cleanup duplicated code
axfr_send() and send_tcp() contained some duplicated code. I merged
this in one "helper" method _create_tcp_socket()
( run in 1.031 second using v1.01-cache-2.11-cpan-5837b0d9d2c )