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