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