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