How To Install bind-sdb on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install bind-sdb on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove bind-sdb

bind-sdb Package Contents on Rocky Linux 8

/etc/openldap/schema
/etc/openldap/schema/dnszone.schema
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/f584b189abee312e2d5ad59574b0ae7565b760
/usr/lib/.build-id/92
/usr/lib/.build-id/92/942dee257adae7db90edaa1cef243650aea549
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/ae373d64ef56042aafbc1e6f0bd8205c5614d1
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/d0d500ca75176751d390df3105e353a67fc8a4
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/c36c260f315f7c0876763100975ef90e5d3e01
/usr/lib/systemd/system/named-sdb.service
/usr/sbin/ldap2zone
/usr/sbin/named-sdb
/usr/sbin/zone2ldap
/usr/sbin/zone2sqlite
/usr/sbin/zonetodb
/usr/share/doc/bind-sdb
/usr/share/doc/bind-sdb/INSTALL.ldap
/usr/share/doc/bind-sdb/README.ldap
/usr/share/doc/bind-sdb/README.sdb_pgsql
/usr/share/man/man1/ldap2zone.1.gz
/usr/share/man/man1/zone2ldap.1.gz
/usr/share/man/man1/zone2sqlite.1.gz
/usr/share/man/man1/zonetodb.1.gz
/usr/share/man/man8/named-sdb.8.gz

References

Summary

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