Lots of fixes for older Perl versions, and several other bug fixes
The parse and data methods are renamed to decode and encode respectively
New feature: IDN query support, requires Net::LibIDN
New modules: Mailbox.pm, Text.pm
For the port:
* Add TEST_DEPENDS (probably won't work on its own due to CONFIGURE_ARGS)
* Add an OPTION for IDN support, off by default
* Use the PORTDOCS macro
* Move the OPTIONS= to the more standard location
Fixes:
======
Suppress IO::Socket::INET(6)::peerhost usage with TCP. On some systems
it doesn't work after receiving data.
Prevent TCP accepts from blocking on unfinished 3-way handshakes.
Named nameserver should be reachable by IPv6 too.
Typo that prevented TCP traffic from being replied from the same
socket as it was received on.
Suppress warnings of the deprecated use of qw as parentheses in
perl 5.14.
Gracefully handle corrupted incoming packets in Net::DNS::Nameserver.
Make Net::DNS::Resolver load even if /etc/resolv.conf is unreadable.
Assembly of segmented TCP traffic.
Fix documentation to reflect code behaviour where on successful packet
creation, the error should be ignored.
A Net::DNS::Nameserver without a NotifyHandler now responds NOTIMP
to NOTIFY requests.
Documentation now reflects Net::DNS::Packet construction behaviour.
Replace TSIG key with the signature of the whole packet when signing
a packet, even when the TSIG key is not the first in the additional
section.
Various typo fixes.
Enhancements:
=============
Allow ReplyHandlers to indicate that no answer should be returned
by the Net::DNS::Nameserver.
Use a class method ReplyHandler for classes inheriting from
Net::DNS::Nameserver.
New improved version of the check_soa script in the contrib section.
Removed dependency on Net::IP
Perform presentation to wire format conversion more efficiently.
Manage serial numbers in SOA records in a modular and extensible way.
Three modules are provided. Strictly sequential, Date Encoded and
Time Encoded. A contribution from Dick Franks.
Provide a configurable IdleTimeout for Net::DNS::Namserver.
to thoroughly test this version before updating production systems.
For the port, introduce a new dependency, security/p5-Digest-SHA
Changes in this version, in addition to numerous minor bug fixes:
Feature: Truncation for Nameserver
TAKE CARE:
this feature may cause unexpected behavior for your nameservers
Net::DNS::Packet::truncate is a new method that is called from
within Net::DNS::Nameserver that truncates a packet according to
the rules of RFC2181 section 9.
Feature: Added Net::DNS::Domain
Net::DNS::Domain is an attemt to consistently approach the various
ways we interface with what RFC 1035 calls <domain-name>.
Feature: KX RR
Added support for the KX RR, RFC2230
Feature: HIP RR
Added support for the HIP RR, RFC5205
Feature: DHCID RR
Added rudimentary support for the DHCID RR.
Fix improved fuzzy matching of CLASS and TYPE in the Question
constructor method.
Fix AAAA dynamic update
PLIST_SUB, so deleting them will not change the package. Therefore
no PORTREVISION bump.
PR: ports/119458
Submitted by: Philippe Audeoud <jadawin@tuxaco.net>
lines. The error was masked by the conditionality, but mostly harmless
due to the fact that the directory is incredibly likely to be populated
anyway.
Submitted by: tobez
* Updated docs
* Net::DNS::Resolver now has unique classes for windows and unix
* You can now define a config file for the Resolver object
* Various other cleanups
If you were (bogusly) using module globals in your scripts, this
update is likely to break that, so take due precautions.
for detecting duplicate RR's in an update packet, and some more
tests. Note, the tests are not installed by the port, but are
useful to examine as samples, and to test your installation.
* Update the port to handle the new TKEY and FAQ files.
* Patch the new FAQ, since pod2man is choking on the CVS Id.
* Update the comment by mentioning dynamic updates.
* Add a comment to the Makefile about the harmless build errors
you see if you don't have the run-time depends already installed.
Added support for DNAME resource records.
Fixed edge case for queries that have no name.
Tighted up the regular expression used in Net::DNS::Resolver::cname_addr()
please see the Changes file for details. Some of the new features
include TSIG support (experimental), a name server module,
fixes for bind() problems in 5.005.03, and more.
The good news is that our friends in perldom have now seen the
light and fixed the later versions of this module so that it
does not (any longer) require perl 5.6.0 or higher. I've tested
quite a lot of the functions on both a RELENG_4 with stock perl
5.005.03, and a 5-Current system with stock 5.6.1, and didn't
have any problems.
I also added a few files to the PORTDOCS option.
Use newly introduced %%PARL_ARCH%% for dirname of architecture
dependent libraries.
(i.e. s!%%PERL_VER%%/i386-freebsd!%%PERL_VER%%/%%PERL_ARCH%%!)
Approved by: asami