How To Install bind-sdb.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bind-sdb.x86_64 in Amazon Linux 2. bind-sdb.x86_64 is BIND server with database backends and DLZ support

Introduction

In this tutorial we learn how to install bind-sdb.x86_64 on Amazon Linux 2.

What is bind-sdb.x86_64

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 to install bind-sdb.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bind-sdb.x86_64.

Install bind-sdb.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bind-sdb.x86_64

How To Uninstall bind-sdb.x86_64 on Amazon Linux 2

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

sudo yum remove bind-sdb.x86_64

bind-sdb.x86_64 Package Contents on Amazon Linux 2

/etc/openldap/schema
/etc/openldap/schema/dnszone.schema
/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-9.11.4
/usr/share/doc/bind-sdb-9.11.4/INSTALL.ldap
/usr/share/doc/bind-sdb-9.11.4/README.ldap
/usr/share/doc/bind-sdb-9.11.4/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.x86_64 on Amazon Linux 2 using yum.