---
name: "ldap2bind"
section: "1"
platform: "linux"
package: "ldap2zone"
version: "0.2-12+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ldap2bind"
---

# ldap2bind(1)

update bind's DNS zones from LDAP

## NAME

ldap2bind - update bind's DNS zones from LDAP

## SYNOPSIS

**ldap2bind**

## DESCRIPTION

The  **ldap2bind** program converts DNS zones from LDAP to bind zone configuration files and reloads these zones. It uses [**ldap2zone**(1)](/ldap2zone/1.md) 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.

## Notes

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*.

## EXIT STATUS

**ldap2bind** returns 0 on success, 1 on failures.

## FILES

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

## AUTHOR

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

## SEE ALSO

[**ldap2zone**(1)](/ldap2zone/1.md).
