DOKK / manpages / debian 12 / ldap2zone / ldap2bind.1.en
LDAP2BIND(1) General Commands Manual LDAP2BIND(1)

ldap2bind - update bind's DNS zones from LDAP

ldap2bind

The ldap2bind program converts DNS zones from LDAP to bind zone configuration files and reloads these zones. It uses ldap2zone(1) to do the conversion.

The script takes no options, but some variables are defined and can be modified using /etc/default/ldap2zone. An example of this file is provided in /usr/share/doc/ldap2zone/examples/.

Usually ldap2bind is called from a cron job that updates the zones regularly from LDAP.

The file named.conf.ldap2zone must exist in bind's configuration directory and has to be included in bind's configuration. This is usually done by including it in named.conf.local.

ldap2bind returns 0 on success, 1 on failures.

/etc/default/ldap2zone	configuration variables
/etc/bind/named.conf.ldap2zone	zones extracted from LDAP

This manual page has been written by Andreas B. Mundt <andi.mundt@web.de> for the Debian Project (but may be used by others).

ldap2zone(1).