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