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