Source: libnet-nslookup-perl Maintainer: Debian Perl Group Uploaders: Xavier Guimard Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: libnet-dns-perl, perl Standards-Version: 4.0.0 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libnet-nslookup-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libnet-nslookup-perl.git Homepage: https://metacpan.org/release/Net-Nslookup Package: libnet-nslookup-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libnet-dns-perl Description: simple DNS lookup module for perl Net::Nslookup provides the capabilities of the standard UNIX command line tool nslookup(1). Net::DNS is a wonderful and full featured module, but quite often, all you need is `nslookup $host`. Net::Nslookup provides that functionality. . Net::Nslookup exports a single function, called nslookup. nslookup can be used to retrieve A, PTR, CNAME, MX, and NS records. . my $a = nslookup(host => "use.perl.org", type => "A"); . my @mx = nslookup(domain => "perl.org", type => "MX"); . my @ns = nslookup(domain => "perl.org", type => "NS");