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