How To Install unbound on CentOS 7
Introduction
In this tutorial we learn how to install unbound
on CentOS 7.
What is unbound
Unbound is a validating, recursive, and caching DNS(SEC) resolver. The C implementation of Unbound is developed and maintained by NLnet Labs. It is based on ideas and algorithms taken from a java prototype developed by Verisign labs, Nominet, Kirei and ep.net. Unbound is designed as a set of modular components, so that also DNSSEC (secure DNS) validation and stub-resolvers (that do not run as a server, but are linked into an application) are easily possible.
We can use yum
or dnf
to install unbound
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install unbound.
Install unbound on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install unbound
using yum
by running the following command:
Install unbound 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.
After updating yum database, We can install unbound
using dnf
by running the following command:
How To Uninstall unbound on CentOS 7
To uninstall only the unbound
package we can use the following command:
References
Summary
In this tutorial we learn how to install unbound
on CentOS 7 using yum
and dnf
.