DOKK / manpages / debian 10 / ldap2zone / ldap2zone.1.en
ldap2zone(1) General Commands Manual ldap2zone(1)

ldap2zone - convert zones saved inside the LDAP to bind9 zone files

ldap2zone zone-name LDAP-URL default-ttl [serial]

Convert zones saved in LDAP to ordinary zones files via ldap2zone in order to avoid dependencies from LDAP to bind.

name of the zone to be extracted from LDAP. This can be a forward or a reverse zone.
URL to access the LDAP server in the format ldap[s]://server-ip/base.
Zone TTL in seconds
Zone serial number.

The script return zero values on success.

ldap2zone example.net ldap://ldap.example.net/dc=example,dc=net 1200 200708291528

Cajus Pollmeier <cajus@debian.org>