How To Install perl-Net-DNS on Rocky Linux 8

In this tutorial we learn how to install perl-Net-DNS on Rocky Linux 8. perl-Net-DNS is DNS resolver modules for Perl

Introduction

In this tutorial we learn how to install perl-Net-DNS on Rocky Linux 8.

What is perl-Net-DNS

Net (DNS) resolver. It allows the programmer to perform DNS queries that are beyond the capabilities of gethostbyname and gethostbyaddr. The programmer should be somewhat familiar with the format of a DNS packet and its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details.

We can use yum or dnf to install perl-Net-DNS on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Net-DNS.

Install perl-Net-DNS on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Net-DNS using dnf by running the following command:

sudo dnf -y install perl-Net-DNS

Install perl-Net-DNS on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Net-DNS using yum by running the following command:

sudo yum -y install perl-Net-DNS

How To Uninstall perl-Net-DNS on Rocky Linux 8

To uninstall only the perl-Net-DNS package we can use the following command:

sudo dnf remove perl-Net-DNS

perl-Net-DNS Package Contents on Rocky Linux 8

/usr/share/doc/perl-Net-DNS
/usr/share/doc/perl-Net-DNS/Changes
/usr/share/doc/perl-Net-DNS/README
/usr/share/doc/perl-Net-DNS/demo
/usr/share/doc/perl-Net-DNS/demo/README
/usr/share/doc/perl-Net-DNS/demo/axfr
/usr/share/doc/perl-Net-DNS/demo/check_soa
/usr/share/doc/perl-Net-DNS/demo/check_zone
/usr/share/doc/perl-Net-DNS/demo/example_recurse.pl
/usr/share/doc/perl-Net-DNS/demo/mresolv
/usr/share/doc/perl-Net-DNS/demo/mx
/usr/share/doc/perl-Net-DNS/demo/perldig
/usr/share/doc/perl-Net-DNS/demo/trace_dns.pl
/usr/share/man/man3/Net::DNS.3pm.gz
/usr/share/man/man3/Net::DNS::Domain.3pm.gz
/usr/share/man/man3/Net::DNS::DomainName.3pm.gz
/usr/share/man/man3/Net::DNS::FAQ.3pm.gz
/usr/share/man/man3/Net::DNS::Header.3pm.gz
/usr/share/man/man3/Net::DNS::Mailbox.3pm.gz
/usr/share/man/man3/Net::DNS::Packet.3pm.gz
/usr/share/man/man3/Net::DNS::Parameters.3pm.gz
/usr/share/man/man3/Net::DNS::Question.3pm.gz
/usr/share/man/man3/Net::DNS::RR.3pm.gz
/usr/share/man/man3/Net::DNS::RR::A.3pm.gz
/usr/share/man/man3/Net::DNS::RR::AAAA.3pm.gz
/usr/share/man/man3/Net::DNS::RR::AFSDB.3pm.gz
/usr/share/man/man3/Net::DNS::RR::APL.3pm.gz
/usr/share/man/man3/Net::DNS::RR::CAA.3pm.gz
/usr/share/man/man3/Net::DNS::RR::CDNSKEY.3pm.gz
/usr/share/man/man3/Net::DNS::RR::CDS.3pm.gz
/usr/share/man/man3/Net::DNS::RR::CERT.3pm.gz
/usr/share/man/man3/Net::DNS::RR::CNAME.3pm.gz
/usr/share/man/man3/Net::DNS::RR::CSYNC.3pm.gz
/usr/share/man/man3/Net::DNS::RR::DHCID.3pm.gz
/usr/share/man/man3/Net::DNS::RR::DLV.3pm.gz
/usr/share/man/man3/Net::DNS::RR::DNAME.3pm.gz
/usr/share/man/man3/Net::DNS::RR::DNSKEY.3pm.gz
/usr/share/man/man3/Net::DNS::RR::DS.3pm.gz
/usr/share/man/man3/Net::DNS::RR::EUI48.3pm.gz
/usr/share/man/man3/Net::DNS::RR::EUI64.3pm.gz
/usr/share/man/man3/Net::DNS::RR::GPOS.3pm.gz
/usr/share/man/man3/Net::DNS::RR::HINFO.3pm.gz
/usr/share/man/man3/Net::DNS::RR::HIP.3pm.gz
/usr/share/man/man3/Net::DNS::RR::IPSECKEY.3pm.gz
/usr/share/man/man3/Net::DNS::RR::ISDN.3pm.gz
/usr/share/man/man3/Net::DNS::RR::KEY.3pm.gz
/usr/share/man/man3/Net::DNS::RR::KX.3pm.gz
/usr/share/man/man3/Net::DNS::RR::L32.3pm.gz
/usr/share/man/man3/Net::DNS::RR::L64.3pm.gz
/usr/share/man/man3/Net::DNS::RR::LOC.3pm.gz
/usr/share/man/man3/Net::DNS::RR::LP.3pm.gz
/usr/share/man/man3/Net::DNS::RR::MB.3pm.gz
/usr/share/man/man3/Net::DNS::RR::MG.3pm.gz
/usr/share/man/man3/Net::DNS::RR::MINFO.3pm.gz
/usr/share/man/man3/Net::DNS::RR::MR.3pm.gz
/usr/share/man/man3/Net::DNS::RR::MX.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NAPTR.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NID.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NS.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NSEC.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NSEC3.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NSEC3PARAM.3pm.gz
/usr/share/man/man3/Net::DNS::RR::NULL.3pm.gz
/usr/share/man/man3/Net::DNS::RR::OPENPGPKEY.3pm.gz
/usr/share/man/man3/Net::DNS::RR::OPT.3pm.gz
/usr/share/man/man3/Net::DNS::RR::PTR.3pm.gz
/usr/share/man/man3/Net::DNS::RR::PX.3pm.gz
/usr/share/man/man3/Net::DNS::RR::RP.3pm.gz
/usr/share/man/man3/Net::DNS::RR::RRSIG.3pm.gz
/usr/share/man/man3/Net::DNS::RR::RT.3pm.gz
/usr/share/man/man3/Net::DNS::RR::SIG.3pm.gz
/usr/share/man/man3/Net::DNS::RR::SMIMEA.3pm.gz
/usr/share/man/man3/Net::DNS::RR::SOA.3pm.gz
/usr/share/man/man3/Net::DNS::RR::SPF.3pm.gz
/usr/share/man/man3/Net::DNS::RR::SRV.3pm.gz
/usr/share/man/man3/Net::DNS::RR::SSHFP.3pm.gz
/usr/share/man/man3/Net::DNS::RR::TKEY.3pm.gz
/usr/share/man/man3/Net::DNS::RR::TLSA.3pm.gz
/usr/share/man/man3/Net::DNS::RR::TSIG.3pm.gz
/usr/share/man/man3/Net::DNS::RR::TXT.3pm.gz
/usr/share/man/man3/Net::DNS::RR::URI.3pm.gz
/usr/share/man/man3/Net::DNS::RR::X25.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver::Base.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver::Recurse.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver::UNIX.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver::android.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver::os2.3pm.gz
/usr/share/man/man3/Net::DNS::Resolver::os390.3pm.gz
/usr/share/man/man3/Net::DNS::Text.3pm.gz
/usr/share/man/man3/Net::DNS::Update.3pm.gz
/usr/share/man/man3/Net::DNS::ZoneFile.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/DNS
/usr/share/perl5/vendor_perl/Net/DNS.pm
/usr/share/perl5/vendor_perl/Net/DNS/Domain.pm
/usr/share/perl5/vendor_perl/Net/DNS/DomainName.pm
/usr/share/perl5/vendor_perl/Net/DNS/FAQ.pod
/usr/share/perl5/vendor_perl/Net/DNS/Header.pm
/usr/share/perl5/vendor_perl/Net/DNS/Mailbox.pm
/usr/share/perl5/vendor_perl/Net/DNS/Packet.pm
/usr/share/perl5/vendor_perl/Net/DNS/Parameters.pm
/usr/share/perl5/vendor_perl/Net/DNS/Question.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR
/usr/share/perl5/vendor_perl/Net/DNS/RR.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/A.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/AAAA.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/AFSDB.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/APL.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/CAA.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/CDNSKEY.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/CDS.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/CERT.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/CNAME.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/CSYNC.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/DHCID.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/DLV.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/DNAME.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/DNSKEY.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/DS.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/EUI48.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/EUI64.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/GPOS.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/HINFO.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/HIP.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/IPSECKEY.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/ISDN.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/KEY.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/KX.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/L32.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/L64.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/LOC.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/LP.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/MB.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/MG.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/MINFO.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/MR.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/MX.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NAPTR.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NID.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NS.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NSEC.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NSEC3.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NSEC3PARAM.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/NULL.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/OPENPGPKEY.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/OPT.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/PTR.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/PX.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/RP.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/RRSIG.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/RT.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/SIG.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/SMIMEA.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/SOA.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/SPF.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/SRV.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/SSHFP.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/TKEY.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/TLSA.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/TSIG.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/TXT.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/URI.pm
/usr/share/perl5/vendor_perl/Net/DNS/RR/X25.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver
/usr/share/perl5/vendor_perl/Net/DNS/Resolver.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver/Base.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver/Recurse.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver/UNIX.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver/android.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver/os2.pm
/usr/share/perl5/vendor_perl/Net/DNS/Resolver/os390.pm
/usr/share/perl5/vendor_perl/Net/DNS/Text.pm
/usr/share/perl5/vendor_perl/Net/DNS/Update.pm
/usr/share/perl5/vendor_perl/Net/DNS/ZoneFile.pm

References

Summary

In this tutorial we learn how to install perl-Net-DNS on Rocky Linux 8 using yum and dnf.