ZONE2LDAP(1) PowerDNS Authoritative Server ZONE2LDAP(1)

# [NAME](#NAME)

zone2ldap - convert zonefiles to ldif

# [SYNOPSIS](#SYNOPSIS)

**zone2ldap** {**--named-conf=PATH**,**--zone-file=PATH** **--zone-name=NAME**} \[*OPTION*]...

# [DESCRIPTION](#DESCRIPTION)

**zone2ldap** is a program that converts BIND zonefiles to ldif format which can inserted to an LDAP server.

# [OPTIONS](#OPTIONS)

[**--help**](#help)

Show summary of options.

[**--basedn=**&lt;DN&gt;****](#basedn)

Base DN to store objects below

[**--dnsttl**](#dnsttl)

Add dnsttl attribute to every entry

[**--layout=**&lt;layout&gt;****](#layout)

How to arrange entries in the directory ("simple" or "tree")

[**--named-conf=**&lt;PATH&gt;****](#named)

Path to a BIND named.conf to parse

[**--resume**](#resume)

Continue after errors

[**--verbose**](#verbose)

Verbose comments on operation

[**--zone-file=**&lt;PATH&gt;****](#zone)

Zone file to parse

[**--zone-name=**&lt;NAME&gt;****](#zone~2)

Specify a zone name if zone is set

# [SEE ALSO](#SEE_ALSO)

[pdns\_server(1)](/man/enterprise-packages/pdns-5.1/pdns_server.1)

# [AUTHOR](#AUTHOR)

PowerDNS.COM BV

# [COPYRIGHT](#COPYRIGHT)

PowerDNS.COM BV

October 14, 2026

---

Document: zone2ldap(1) from pdns-5.1 5.1.10-r11 (Chainguard OS)
Source: https://github.com/PowerDNS/pdns
