Binary package “libnet-nslookup-perl” in ubuntu eoan

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
 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 => "", type => "A");
  my @mx = nslookup(domain => "", type => "MX");
  my @ns = nslookup(domain => "", type => "NS");