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