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