How To Install php-react-dns on Fedora 36

In this tutorial we learn how to install php-react-dns in Fedora 36. php-react-dns is Async DNS resolver

Introduction

In this tutorial we learn how to install php-react-dns on Fedora 36.

What is php-react-dns

Async DNS resolver. The main point of the DNS component is to provide async DNS resolution. However, it is really a toolkit for working with DNS messages, and could easily be used to create a DNS server. Autoloader

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

Install php-react-dns 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-react-dns using dnf by running the following command:

sudo dnf -y install php-react-dns

Install php-react-dns 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-react-dns using yum by running the following command:

sudo yum -y install php-react-dns

How To Uninstall php-react-dns on Fedora 36

To uninstall only the php-react-dns package we can use the following command:

sudo dnf remove php-react-dns

php-react-dns Package Contents on Fedora 36

/usr/share/doc/php-react-dns
/usr/share/doc/php-react-dns/CHANGELOG.md
/usr/share/doc/php-react-dns/README.md
/usr/share/doc/php-react-dns/composer.json
/usr/share/licenses/php-react-dns
/usr/share/licenses/php-react-dns/LICENSE
/usr/share/php/React/Dns
/usr/share/php/React/Dns/BadServerException.php
/usr/share/php/React/Dns/Config
/usr/share/php/React/Dns/Config/Config.php
/usr/share/php/React/Dns/Config/HostsFile.php
/usr/share/php/React/Dns/Model
/usr/share/php/React/Dns/Model/Message.php
/usr/share/php/React/Dns/Model/Record.php
/usr/share/php/React/Dns/Protocol
/usr/share/php/React/Dns/Protocol/BinaryDumper.php
/usr/share/php/React/Dns/Protocol/Parser.php
/usr/share/php/React/Dns/Query
/usr/share/php/React/Dns/Query/CachingExecutor.php
/usr/share/php/React/Dns/Query/CancellationException.php
/usr/share/php/React/Dns/Query/CoopExecutor.php
/usr/share/php/React/Dns/Query/ExecutorInterface.php
/usr/share/php/React/Dns/Query/FallbackExecutor.php
/usr/share/php/React/Dns/Query/HostsFileExecutor.php
/usr/share/php/React/Dns/Query/Query.php
/usr/share/php/React/Dns/Query/RetryExecutor.php
/usr/share/php/React/Dns/Query/SelectiveTransportExecutor.php
/usr/share/php/React/Dns/Query/TcpTransportExecutor.php
/usr/share/php/React/Dns/Query/TimeoutException.php
/usr/share/php/React/Dns/Query/TimeoutExecutor.php
/usr/share/php/React/Dns/Query/UdpTransportExecutor.php
/usr/share/php/React/Dns/RecordNotFoundException.php
/usr/share/php/React/Dns/Resolver
/usr/share/php/React/Dns/Resolver/Factory.php
/usr/share/php/React/Dns/Resolver/Resolver.php
/usr/share/php/React/Dns/Resolver/ResolverInterface.php
/usr/share/php/React/Dns/autoload.php

References

Summary

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