How To Install dnssec-trigger on CentOS 7

In this tutorial we learn how to install dnssec-trigger on CentOS 7. dnssec-trigger is NetworkManager plugin to update/reconfigure DNSSEC resolving

Introduction

In this tutorial we learn how to install dnssec-trigger on CentOS 7.

What is dnssec-trigger

dnssec-trigger reconfigures the local unbound DNS server. This unbound DNS server performs DNSSEC validation, but dnssec-trigger will signal it to use the DHCP obtained forwarders if possible, and fallback to doing its own AUTH queries if that fails, and if that fails prompt the user via dnssec-trigger-applet the option to go with insecure DNS only.

We can use yum or dnf to install dnssec-trigger on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install dnssec-trigger.

Install dnssec-trigger on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install dnssec-trigger using yum by running the following command:

sudo yum -y install dnssec-trigger

Install dnssec-trigger 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 dnssec-trigger using dnf by running the following command:

sudo dnf -y install dnssec-trigger

How To Uninstall dnssec-trigger on CentOS 7

To uninstall only the dnssec-trigger package we can use the following command:

sudo dnf remove dnssec-trigger

References

Summary

In this tutorial we learn how to install dnssec-trigger on CentOS 7 using yum and dnf.