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.
zone-name
name of the zone to be extracted from LDAP. This can be a forward or a reverse zone.
LDAP-URL
URL to access the LDAP server in the format ldap[s]://server-ip/base.
default-ttl
Zone TTL in seconds
serial
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 <[email protected]>