How To Install bind-sdb on AlmaLinux 8

In this tutorial we learn how to install bind-sdb in AlmaLinux 8. bind-sdb is BIND server with database backends and DLZ support

Introduction

In this tutorial we learn how to install bind-sdb on AlmaLinux 8.

What is bind-sdb

BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols. BIND includes a DNS server (named-sdb) which has compiled-in SDB (Simplified Database Backend) which includes support for using alternative Zone Databases stored in an LDAP server (ldapdb), a postgreSQL database (pgsqldb), an sqlite database (sqlitedb), or in the filesystem (dirdb), in addition to the standard in-memory RBT (Red Black Tree) zone database. It also includes support for DLZ (Dynamic Loadable Zones)

We can use yum or dnf to install bind-sdb on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bind-sdb.

Install bind-sdb on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install bind-sdb using dnf by running the following command:

sudo dnf -y install bind-sdb

Install bind-sdb on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bind-sdb

How To Uninstall bind-sdb on AlmaLinux 8

To uninstall only the bind-sdb package we can use the following command:

sudo dnf remove bind-sdb

References

Summary

In this tutorial we learn how to install bind-sdb on AlmaLinux 8 using yum and dnf.