How To Install php-pear-Net-DNS2 on Fedora 36

In this tutorial we learn how to install php-pear-Net-DNS2 in Fedora 36. php-pear-Net-DNS2 is PHP Resolver library used to communicate with a DNS server

Introduction

In this tutorial we learn how to install php-pear-Net-DNS2 on Fedora 36.

What is php-pear-Net-DNS2

Net_DNS2 - Native PHP5 DNS Resolver and Updater The main features for this package include * Increased performance; most requests are 2-10x faster than Net_DNS * Near drop-in replacement for Net_DNS * Uses PHP5 style classes and exceptions * Support for IPv4 and IPv6, TCP and UDP sockets. * Includes a separate, more intuitive Updater class for handling dynamic update * Support zone signing using TSIG and SIG(0) for updates and zone transfers * Includes a local cache using shared memory or flat file to improve performance * includes many more RR’s, including DNSSEC RR’s.

We can use yum or dnf to install php-pear-Net-DNS2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-Net-DNS2.

Install php-pear-Net-DNS2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-pear-Net-DNS2 using dnf by running the following command:

sudo dnf -y install php-pear-Net-DNS2

Install php-pear-Net-DNS2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-pear-Net-DNS2 using yum by running the following command:

sudo yum -y install php-pear-Net-DNS2

How To Uninstall php-pear-Net-DNS2 on Fedora 36

To uninstall only the php-pear-Net-DNS2 package we can use the following command:

sudo dnf remove php-pear-Net-DNS2

php-pear-Net-DNS2 Package Contents on Fedora 36

/usr/share/doc/pear/Net_DNS2
/usr/share/doc/pear/Net_DNS2/LICENSE
/usr/share/doc/pear/Net_DNS2/README.md
/usr/share/pear/Net
/usr/share/pear/Net/DNS2
/usr/share/pear/Net/DNS2.php
/usr/share/pear/Net/DNS2/BitMap.php
/usr/share/pear/Net/DNS2/Cache
/usr/share/pear/Net/DNS2/Cache.php
/usr/share/pear/Net/DNS2/Cache/File.php
/usr/share/pear/Net/DNS2/Cache/Shm.php
/usr/share/pear/Net/DNS2/Exception.php
/usr/share/pear/Net/DNS2/Header.php
/usr/share/pear/Net/DNS2/Lookups.php
/usr/share/pear/Net/DNS2/Notifier.php
/usr/share/pear/Net/DNS2/Packet
/usr/share/pear/Net/DNS2/Packet.php
/usr/share/pear/Net/DNS2/Packet/Request.php
/usr/share/pear/Net/DNS2/Packet/Response.php
/usr/share/pear/Net/DNS2/PrivateKey.php
/usr/share/pear/Net/DNS2/Question.php
/usr/share/pear/Net/DNS2/RR
/usr/share/pear/Net/DNS2/RR.php
/usr/share/pear/Net/DNS2/RR/A.php
/usr/share/pear/Net/DNS2/RR/AAAA.php
/usr/share/pear/Net/DNS2/RR/AFSDB.php
/usr/share/pear/Net/DNS2/RR/AMTRELAY.php
/usr/share/pear/Net/DNS2/RR/ANY.php
/usr/share/pear/Net/DNS2/RR/APL.php
/usr/share/pear/Net/DNS2/RR/ATMA.php
/usr/share/pear/Net/DNS2/RR/AVC.php
/usr/share/pear/Net/DNS2/RR/CAA.php
/usr/share/pear/Net/DNS2/RR/CDNSKEY.php
/usr/share/pear/Net/DNS2/RR/CDS.php
/usr/share/pear/Net/DNS2/RR/CERT.php
/usr/share/pear/Net/DNS2/RR/CNAME.php
/usr/share/pear/Net/DNS2/RR/CSYNC.php
/usr/share/pear/Net/DNS2/RR/DHCID.php
/usr/share/pear/Net/DNS2/RR/DLV.php
/usr/share/pear/Net/DNS2/RR/DNAME.php
/usr/share/pear/Net/DNS2/RR/DNSKEY.php
/usr/share/pear/Net/DNS2/RR/DS.php
/usr/share/pear/Net/DNS2/RR/EID.php
/usr/share/pear/Net/DNS2/RR/EUI48.php
/usr/share/pear/Net/DNS2/RR/EUI64.php
/usr/share/pear/Net/DNS2/RR/HINFO.php
/usr/share/pear/Net/DNS2/RR/HIP.php
/usr/share/pear/Net/DNS2/RR/IPSECKEY.php
/usr/share/pear/Net/DNS2/RR/ISDN.php
/usr/share/pear/Net/DNS2/RR/KEY.php
/usr/share/pear/Net/DNS2/RR/KX.php
/usr/share/pear/Net/DNS2/RR/L32.php
/usr/share/pear/Net/DNS2/RR/L64.php
/usr/share/pear/Net/DNS2/RR/LOC.php
/usr/share/pear/Net/DNS2/RR/LP.php
/usr/share/pear/Net/DNS2/RR/MX.php
/usr/share/pear/Net/DNS2/RR/NAPTR.php
/usr/share/pear/Net/DNS2/RR/NID.php
/usr/share/pear/Net/DNS2/RR/NIMLOC.php
/usr/share/pear/Net/DNS2/RR/NS.php
/usr/share/pear/Net/DNS2/RR/NSAP.php
/usr/share/pear/Net/DNS2/RR/NSEC.php
/usr/share/pear/Net/DNS2/RR/NSEC3.php
/usr/share/pear/Net/DNS2/RR/NSEC3PARAM.php
/usr/share/pear/Net/DNS2/RR/OPENPGPKEY.php
/usr/share/pear/Net/DNS2/RR/OPT.php
/usr/share/pear/Net/DNS2/RR/PTR.php
/usr/share/pear/Net/DNS2/RR/PX.php
/usr/share/pear/Net/DNS2/RR/RP.php
/usr/share/pear/Net/DNS2/RR/RRSIG.php
/usr/share/pear/Net/DNS2/RR/RT.php
/usr/share/pear/Net/DNS2/RR/SIG.php
/usr/share/pear/Net/DNS2/RR/SMIMEA.php
/usr/share/pear/Net/DNS2/RR/SOA.php
/usr/share/pear/Net/DNS2/RR/SPF.php
/usr/share/pear/Net/DNS2/RR/SRV.php
/usr/share/pear/Net/DNS2/RR/SSHFP.php
/usr/share/pear/Net/DNS2/RR/TA.php
/usr/share/pear/Net/DNS2/RR/TALINK.php
/usr/share/pear/Net/DNS2/RR/TKEY.php
/usr/share/pear/Net/DNS2/RR/TLSA.php
/usr/share/pear/Net/DNS2/RR/TSIG.php
/usr/share/pear/Net/DNS2/RR/TXT.php
/usr/share/pear/Net/DNS2/RR/TYPE65534.php
/usr/share/pear/Net/DNS2/RR/URI.php
/usr/share/pear/Net/DNS2/RR/WKS.php
/usr/share/pear/Net/DNS2/RR/X25.php
/usr/share/pear/Net/DNS2/Resolver.php
/usr/share/pear/Net/DNS2/Socket.php
/usr/share/pear/Net/DNS2/Updater.php
/usr/share/tests/pear/Net_DNS2
/usr/share/tests/pear/Net_DNS2/tests
/usr/share/tests/pear/Net_DNS2/tests/Tests_Net_DNS2_AllTests.php
/usr/share/tests/pear/Net_DNS2/tests/Tests_Net_DNS2_DNSSECTest.php
/usr/share/tests/pear/Net_DNS2/tests/Tests_Net_DNS2_ParserTest.php
/usr/share/tests/pear/Net_DNS2/tests/Tests_Net_DNS2_ResolverTest.php
/var/lib/pear/pkgxml/php-pear-Net-DNS2.xml

References

Summary

In this tutorial we learn how to install php-pear-Net-DNS2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).