How to Install and Uninstall libnet-nslookup-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "libnet-nslookup-perl" package

Please follow the step by step instructions below to install libnet-nslookup-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libnet-nslookup-perl

2. Uninstall "libnet-nslookup-perl" package

Learn how to uninstall libnet-nslookup-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libnet-nslookup-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libnet-nslookup-perl package on Ubuntu 21.10 (Impish Indri)

Package: libnet-nslookup-perl
Architecture: all
Version: 2.04-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: perl, libnet-dns-perl
Filename: pool/universe/libn/libnet-nslookup-perl/libnet-nslookup-perl_2.04-2_all.deb
Size: 8840
MD5sum: 957d82245cca46b480506e35e02fdbfd
SHA1: 93a0ed628186853cac4be54b9d2caadc1ddf1f40
SHA256: 0e0332b068f2cc842682383a3a19ef7db695d8927900de5f625a437b879c6caa
SHA512: a5203bfa0a66b0dbd0ea1c74f4828520f27f8a14627c2bf63240b1a417d08c4363db63edaf79eb3677d7415f4550cdda1e2c581441928d8737d69af2e573f50b
Homepage: https://metacpan.org/release/Net-Nslookup
Description-en: 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");
Description-md5: 3decb0b326340bfa615d4bb9c99a563c