How To Install hash-slinger on CentOS 7

In this tutorial we learn how to install hash-slinger on CentOS 7. hash-slinger is Generate various DNS records such as RFC-4255 SSHFP and RFC-698

Introduction

In this tutorial we learn how to install hash-slinger on CentOS 7.

What is hash-slinger

This package contains various tools to generate special DNS records sshfp Generate RFC-4255 SSHFP DNS records from known_hosts files or ssh-keyscan tlsa Generate RFC-6698 TLSA DNS records via TLS openpgpkey Generate draft-ietf-dane-openpgpkey DNS records from OpenPGP keyrings ipseckey Generate RFC-4025 IPSECKEY DNS records on Libreswan IPsec servers This package supersedes ‘sshfp’ and ‘swede’

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

Install hash-slinger on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install hash-slinger

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

sudo dnf -y install hash-slinger

How To Uninstall hash-slinger on CentOS 7

To uninstall only the hash-slinger package we can use the following command:

sudo dnf remove hash-slinger

References

Summary

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