How To Install bind-sdb on CentOS 8

Hostnbit
bind-sdb is BIND server with database backends and DLZ support

Introduction

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

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove bind-sdb

bind-sdb Package Contents on CentOS 8

/etc/openldap/schema
/etc/openldap/schema/dnszone.schema
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/1e7dbffc47ed73a1a34d8519c01ed17d988659
/usr/lib/.build-id/1f/77713b8f33a97ddce340321198ed77fdbcd7ea
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/f0a37e06959c74cdf29b203043909acb8913ef
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/dc03b41699ed2afbaf28e04425c9ea7ac39ec6
/usr/lib/.build-id/bf/9249698e26e5e9f57e45dc7518a2eba52a8a21
/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
/etc/openldap/schema
/etc/openldap/schema/dnszone.schema
/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/daa62ff190f5b0728af2b7d2d354f3684c0d44
/usr/lib/.build-id/66
/usr/lib/.build-id/66/56724981b9034145631d1f9821685901042642
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/3f5bdb57093bf1af307518ced8a688e483ba58
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/367f04613b229488b040be0d1e3acdcf463ff7
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/832a314d4f6fa5d14059777cb5cb5cdf1faf3b
/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

AdvertisementsEzoicreport this ad

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top