How To Install dnsdist on CentOS 7
Introduction
In this tutorial we learn how to install dnsdist on CentOS 7.
What is dnsdist
dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic.
We can use yum or dnf to install dnsdist on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install dnsdist.
Install dnsdist on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install dnsdist using yum by running the following command:
sudo yum -y install dnsdist
Install dnsdist on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install dnsdist using dnf by running the following command:
sudo dnf -y install dnsdist
How To Uninstall dnsdist on CentOS 7
To uninstall only the dnsdist package we can use the following command:
sudo dnf remove dnsdist
References
Summary
In this tutorial we learn how to install dnsdist on CentOS 7 using yum and dnf.