Query: net::dns::faq
OS: redhat
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FAQ(1) User Contributed Perl Documentation FAQ(1)SYNOPSISperldoc Net::DNS::FAQDESCRIPTIONThis 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 http://www.net-dns.org/docs/FAQ.htmlGENERALWhat is Net::DNS? Net::DNS is a pure perl implementation of a DNS resolver.INSTALLATIONWhere 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: http://search.cpan.org/author/MSCHWERN/GENERAL QUESTIONSWhy 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. perl v5.8.0 2002-11-15 FAQ(1)