Archive for June 2005

Net::DNS Version 0.51_02 released

Development release 0.51_02 that is now available from CPAN.

If the cpantests do not show unexpected results and no new bugs reports are filed this release is targeted to appear as 0.52 in about one or two weeks.

This release includes fixes to the errors that occured during the "escaped character tests" on OpenBSD and Feudora. It also fixes the bug that made the resolver fail to create persistent sockets (needed by SpamAssassin).

For the users of early versions of perl the "use bytes;" pragma has been put into an eval block so that when the bytes pragma is not available the probrams will not fail to compile.

More details in the Changes file.


Net::DNS Version 0.51_01 released

I have just released version 0.51_01. It fixes a problem when using Net::DNS 0.50 with perl 5.6.1.

If you experience errors like:

# Error: Bareword "AF_INET6" not allowed while "strict subs" in use atblib/lib/Net/DNS/Resolver/ line 725.

you should be trying release 0.51_01 that is available from CPAN.

For a description of the problem see this thread from the mrtg-developers that were bitten by the same bug.

Net::DNS::TestNS version 1.09

It seemed that Net::DNS::TestNS contained enough useful stuff for people to ask for a few more features.

  • More header values can be modified.
  • There is support for the OPT meta RR (EDNS0) support.
  • You can define your raw payload, in hex.

More features mend that the XML format (DTD) had to be modified. For an example configuration file you could check out the one of the files in the test directory.

For people that already found use for version 1.06 and have written XML configurations a XSL translation template for the new XML format has been supplied

This package is targeted for use in tests and experiments.

Version 0.51 Released

Version 0.51 has been released and is available from CPAN.

Version 0.50 contained a "stale" debug line that prints cruft to STDOUT. (See #13184). That cruft may end up in log files and trigger log file analyzers.

Bug reports are welcomed through

Version 0.50 Released

Version 0.50 has been released and is available from CPAN.

Main differences between version 0.49 and 0.50 are:

  • IPv6 transport for the Resolver and the Nameserver classes. This is provided that you have Socket6 and IO::Socket::INET6 installed.
  • Binary label support for domain names.
  • No dependency on the systems libresolv, which caused differences in behavior with respect to binary labels and caused all these compile bugs on Tiger. Net::DNS now commes with its own library, that currently only contains dn_expan().

Bug reports are welcomed through


Version 0.49_03 Released

Version 0.49_03 has been released and is available from CPAN.

During development of some other code I ran into a hard to reproduce and system depended bug that was caused by Perl’s behavior to treat characters as unicode as soon as it thinks that is relevant. I introduced the "use bytes;" pragma throughout the code to cope with this.

Another minor modification is the ignqrid flag in Net::DNS::Resolver. In the default situation the Resolver will drop packets with the QR bit cleared (this is a good thing, see draft-arends-dnsext-qr-clarification) and if the ID on the response does not match that on the query, that helps protecting against spoofs. When ignqrid is set the packets with QR cleared or an ID mismatch are accepted. Use with care.

Unless critical bugs are found I will not touch this code and track the cpan testers page to see if the beast PASSes the test on a couple of platforms.

Talking about cpan testers, it is of great use as a troubleshooting tool for these pre-releases. Read Becoming a CPAN Tester with CPANPLUS and configure your system to send those reports.