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