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");
Installed Size: 28.7 kB
Architectures: all