bc5dde
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
bc5dde
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
bc5dde
.\" 
bc5dde
.\" Permission to use, copy, modify, and/or distribute this software for any
bc5dde
.\" purpose with or without fee is hereby granted, provided that the above
bc5dde
.\" copyright notice and this permission notice appear in all copies.
bc5dde
.\" 
bc5dde
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
bc5dde
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
bc5dde
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
bc5dde
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
bc5dde
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
bc5dde
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
bc5dde
.\" PERFORMANCE OF THIS SOFTWARE.
bc5dde
.\"
bc5dde
.\" Manpage written by Jan Gorig
bc5dde
.TH zonetodb 1 "15 March 2010" "BIND9"
bc5dde
.SH NAME
bc5dde
zonetodb - Generate a PostgreSQL table from a zone.
bc5dde
.SH SYNOPSIS
bc5dde
.B zonetodb origin file dbname dbtable
bc5dde
.SH DESCRIPTION
bc5dde
zonetodb parses DNS zone file and creates table in selected database for use with PostgreSQL BIND SDB driver.
bc5dde
bc5dde
\fBzone\fR
bc5dde
.RS 4
bc5dde
Zone origin, eg "pgdb.net."
bc5dde
.RE
bc5dde
.PP
bc5dde
\fBfile\fR
bc5dde
.RS 4
bc5dde
Master zone database file, eg. pgdb.net.db
bc5dde
.RE
bc5dde
.PP
bc5dde
\fBdbname\fR
bc5dde
.RS 4
bc5dde
Name of PostgreSQL database (database must exist)
bc5dde
.RE
bc5dde
.PP
bc5dde
\fBdbtable\fR
bc5dde
.RS 4
bc5dde
Name of table in database
bc5dde
.RE
bc5dde
bc5dde
.SH "EXIT STATUS"
bc5dde
Exits with 0 on success or 1 on failure.
bc5dde
.SH "SEE ALSO"
bc5dde
named(8)
bc5dde
.SH "COPYRIGHT"
bc5dde
Copyright \(co 2004, 2005, 2007\-2009 Internet Systems Consortium, Inc. ("ISC")
bc5dde
.br
bc5dde
Copyright \(co 2000, 2001 Internet Software Consortium.
bc5dde
.br