
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");