How to Install libnet-nslookup-perl in Ubuntu 18.04



Install libnet-nslookup-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libnet-nslookup-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");

Homepage: https://metacpan.org/release/Net-Nslookup

Version: 2.04-2

Section: universe/perl