Net::DNS is now stored in a subversion repository, replacing cvs.
As such the submodule version numbers have taken another big jump.
Luckily those numbers don't matter as long as they work.
Fixed a bug with Unknown RR types that broke zone signing [Olaf].
Added callback support to Net::DNS::Resolver::Recuse. The
demo/trace_dns.pl script demonstrates this.
Added a note regarding answers with an empty answer section to the
Net::DNS::Resolver::search() and Net::DNS::Resolver::query()
documentation.
The copyright notice for Net::DNS::RR::SSHFP was incorrect. That file
is Copyright (c) 2004 RIPE NCC, Olaf Kolkman.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
Revision history for Net::DNS
=============================
*** 0.47 April 1, 2004
safe_push() is back in Net::DNS::Packet, due to the excellent debate
skills of Luis E Monoz. However, the name safe_push() is deprecated,
use the new name unique_push() instead.
Fixed a bug in Net::DNS::Nameserver which caused the class to build
packets incorrectly in some cases. [Ask Bjorn Hansen]
Error message cleanups in Net::DNS::typesbyname()
and Net::DNS::typesbyval() [Ask Bjorn Hansen]
Net::DNS::RR::new_from_hash() now works with unknown RR types [Olaf].
Changes since 0.45
==================
*** 0.46 February 21, 2004
IPv6 reverse lookups can now be done with Net::DNS::Resolver::search(),
as well as with query().
Hostnames can now be used in the 'nameservers' arguement to
Net::DNS::Resolver->new()
Removed Net::DNS::Select from the package. IO::Select appears to work
on windows just fine.
Fixed a bug that caused MXes with a preference of 0 to function
incorrectly, reported by Dick Franks.
Net::DNS had a few problems running under taint mode, especially under
cygwin. These issues have been fixed. More issues with taint mode may
lay undiscovered.
Applied Matthew Darwin's patch added support for IPv6 reverse lookups to
Net::DNS::Resolver::query.
Patch to enable online tests no longer necessary.
Changes since 0.42:
Revision history for Net::DNS
=============================
*** 0.45 January 8, 2004
No changes from 0.44_02.
** 0.44_02 January 3, 2004
The XS detection code was broken. We actually use the XS bits now.
Major cleanups/optimizations of the various RR subclasses. This release
of Net::DNS is over twice as fast at parsing dns packets as 0.44.
** NOTICE **
$rr->rdatastr no longer returns '; no data' if the RR record has no
data. This happens in $rr->string now.
Net::DNS::Packet::safe_push() no longer exists. The method is now only
avalible from Net::DNS::Update objects.
** 0.44_01 January 3, 2004
Net::DNS::RR objects were not playing nice with Storable, this caused
the axfr demo script to fail. Thanks to Joe Dial for the report.
** NOTICE **
This may cause RR objects that are already serialize to not deserialize
correctly.
Reply handlers in Net::DNS::Nameserver are now passed the query object.
Fixed a nasty bug in Nameserver.pm related to the qr bit. As Olaf
explained:
Replies are sent if the query has its "qr" bit set. The "qr" bit is an
indication that the packet is sent as a response to a query. Since
there are more implementations that suffer from this bug one can cause
all kinds of nasty ping-pong loops by spoofing the initial packet or
have an infinite query loop by spoofing a query from the localhost:53
address.
Various Win32/Cygwin cleanups from Sidney Markowitz.
*** 0.44 December 12, 2003
The Wrath of CPAN Release.
CPAN.pm doesn't understand the nature of revision numbers. 1.10 is
newer than 1.9; but CPAN.pm treats them as floats. This is bad.
All the internal version numbers in Net::DNS have been bumped to
2.100 in order to fix this.
No actual code changes in this release.
*** 0.43 December 11, 2003
Added warning of deprecation of Net::DNS::Packet::safe_push. This will
move into Net::DNS::Update, as Net::DNS::Update is now a proper subclass
of Net::DNS::Packet.
** 0.42_02 December 11, 2003
Fixed a long standing bug with zone transfers in the "many-answers" format.
CPAN #1903.
Added the '--online-tests' flag to Makefile.PL. This activates the online
tests without asking the user interactively. "--no-online-tests" turns
the tests off.
Cleaned up Makefile.PL a little. The "--pm" flag is now deprecated, use
"--no-xs" instead.
Added support for unknown RR types (rfc3597). Note for developers: the
typesbyname, typesbyval, classesbyname and classesbyval hashes should
not be used directly, use the same named wrapper functions
instead. [Olaf Kolkman]
Added two hashes for administrative use; they store which types are
qtypes and metatypes (rfc2929). [Olaf Kolkman]
** 0.42_01 November 30, 2003
Major work to get Net::DNS functioning properly on Cygwin by Sidney
Markowitz.
Fixed a bug in Net::DNS::Nameserver's error handling. CPAN #4195
Changes since 0.40:
*** 0.42 October 26, 2003
Fixed compilation problems on panther (Mac OS 10.3).
Fixed a bug in Net::DNS::Resolver::Recurse which allowed an endless
loop to arise in certain situations. (cpan #3969, patch
by Rob Brown)
Applied Mike Mitchell's patch implementing a presistant UDP socket.
See the Net::DNS::Resolver documentation for details.
*** 0.41 October 3, 2003
Added some documentation about modifying the behavior of Net::DNS::Resolver.
** 0.40_01 September 26, 2003
Fixed some uninitialized value warnings when running under windows.
Fixed a bug in the test suite that caused 00-version.t to fail with
certain versions of ExtUtils::MakeMaker. Thanks to David James, Jos
Boumans and others for reporting it.
Reply handlers in Net::DNS::Nameserver are now passed the peerhost.
(Assen Totin <assen@online.bg>)
Reply handlers in Net::DNS::Nameserver can now tweak the header bits
that the nameserver returns. [Olaf]
The AD header bit is now documented, and twiddleable. [Olaf]
The change log has been trimmed, entries for versions older than 0.21
have been removed.
** NOTICE **
Net::DNS::Resolver::axfr_old() has been removed from the package.
An exception will be thrown if you attempt to use this method. Use
axfr() or axfr_start() instead.
Net-DNS-SEC updates, seems that IETF has been busy redefining DNSSEC.
When parsing resolver configuration files, IPv6 addresses are now skipped,
as Net::DNS does not yet have IPv6 support.
Broke Net::DNS::Resolver into seperate classes. Many of the globals in
Net::DNS::Resolver no longer exist. They were never documented
so you never used them.... right?
Options to Net::DNS::Resolver->new() are now supported, including
using your own configuration file.
Moved next_id() from Resolver.pm to Header.pm (which is where it is
used).
Tie::DNSHash removed from the package, see Tie::DNS from CPAN for a more
complete implementation of a DNS hash.
Applied David Carmean's patch for handling more than one string in a
TXT RR's RDATA section.
Applied patch from Dan Sully (daniel@electricrain.com) allowing multiple
questions to be part of a DNS packet.
Fixed the regular expression in RR.pm to comply with the RFCs,
turns our we were _too_ paranoid.
Various cleanups for perl 5.004.
Applied SIG patch.
Added Net::DNS::Resolver::Recurse module.
Applied initialization bug in OPT.pm patch.
Applied patch for udp timeouts.
Fixed a typo in FAQ.pod that was making aropos and whatis
grumpy.
Applied patch for TKEY support.
Added Net::DNS::Packet->safe_push() to allow for automatically
checking for duplicate RRs being pushed into a packet.
Added more tests.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
ones to do, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)
programmer to perform any type of DNS query from a Perl script.
For details and examples, please read the Net::DNS manual page.
As of version 0.02, Net::DNS is written entirely in Perl. Version
0.01 was written mostly in C and used the system's resolver. The
Perl version runs quite a bit slower, but considering that the
network can be a serious bottleneck when making DNS queries, the
speed difference may not really matter in most cases. However,
future versions may contain some C to increase speed or for those
who wish to link against libresolv or libbind.