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