e55890
.\" Copyright (C) 2004, 2005 Stig Venaas <venaas@uninett.no>
e55890
.\" 
e55890
.\" Permission to use, copy, modify, and distribute this software for any
e55890
.\" purpose with or without fee is hereby granted, provided that the above
e55890
.\" copyright notice and this permission notice appear in all copies.
e55890
.\" Manpage written by Jan Gorig
e55890
.TH ldap2zone 1 "15 March 2010" "BIND9"
e55890
.SH NAME
e55890
ldap2zone - Creates zone file from LDAP dnszone information
e55890
.SH SYNOPSIS
e55890
.B ldap2zone zone-name LDAP-URL default-ttl [serial]
e55890
.SH DESCRIPTION
e55890
ldap2zone is a tool that reads info for a zone from LDAP and constructs a standard plain ascii zone file that is written to the standard output. The LDAP information has to be stored using the dnszone schema. The schema is used by BIND with LDAP back-end.
e55890
e55890
\fBzone-name\fR
e55890
.RS 4
e55890
Name of the zone, eg "mydomain.net."
e55890
.RE
e55890
.PP
e55890
\fBLDAP-URL\fR
e55890
.RS 4
e55890
LDAP URL to dnszone information
e55890
.RE
e55890
.PP
e55890
\fBdefault-ttl\fR
e55890
.RS 4
e55890
Default TTL value to be used in zone
e55890
.RE
e55890
.PP
e55890
\fBserial\fR
e55890
.RS 4
e55890
(optional) Program checks this number to be different than SOA serial number.
e55890
.RE
e55890
e55890
.SH "EXIT STATUS"
e55890
Exits with 0 on success or 1 on failure.
e55890
.SH "SEE ALSO"
e55890
named(8) ldap(3) 
e55890
http://www.venaas.no/dns/ldap2zone/
e55890
.SH "COPYRIGHT"
e55890
Copyright (C) 2004, 2005 Stig Venaas