Section: User Contributed Perl Documentation (3)
Return to Main Contents
Net::DNS::FAQ - Frequently Asked Net::DNS Questions
This document serves to answer the most frequently asked questions on both the
Net::DNS Mailing List and those sent to the author.
The latest version of this FAQ can be found at
What is Net::DNS?
Net::DNS is a perl implementation of a DNS resolver.
Where can I find Test::More?
Test::More is part of the Test-Simple packge, by Michael G Schwern.
You should be able to find the distrubution here:
Why does Net::DNS::Resolver::query() return undef when the ANSWER section is empty?
The short answer is, don't use query(). Net::DNS::Resolver::send()
will always return the answer packet, as long as an answer was received.
The longer answer is that query() is modeled after the res_query() function
from the libresolv C library, which has similar behaviors.
$Id: FAQ.pod 264 2005-04-06 09:16:15Z olaf $
- What is Net::DNS?
- Where can I find Test::More?
- Why does Net::DNS::Resolver::query() return undef when the ANSWER section is empty?
linux.jgfs.net manual pages