GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ZONE2SQL (1)

NAME

zone2sql - Convert ISC Bind zones to SQL

CONTENTS

Synopsis
Description
Options
See Also

SYNOPSIS

zone2sql [OPTIONS]

DESCRIPTION

Zone2sql parses Bind named.conf files and zonefiles and outputs SQL on standard out, which can then be fed to your database.

zone2sql understands the Bind master file extension ’$GENERATE’ and will also honour ’$ORIGIN’ and ’$TTL’.

For backends supporting slave operation there is also an option to keep slave zones as slaves, and not convert them to native operation.

zone2sql can generate SQL for the Generic MySQL, Generic PostgreSQL and Oracle backends.

OPTIONS

Input options:
--named-conf=<filename>
  Read <filename> to get the bind configuration
--zone=<zone-file>
  Parse only this zone file. Conflicts with --named-conf parameter.
--zone-name=<name>
  When parsing a single zone without $ORIGIN statement, set this as the zone name.
Output options:
--gmysql
  Output in format suitable for the default configuration of the Generic MySQL backend.
--gpgsql
  Output in format suitable for the default configuration of the Generic PostgreSQL backend.
--oracle
  Output in format suitable for the default configuration of the Generic Oracle backend.
--transactions
  For Oracle and PostgreSQL output, wrap each domain in a transaction for higher speed and integrity.
Other options:
--slave Maintain slave status of zones listed in named.conf as being slaves. The default behaviour is to convert all zones to native operation.
--on-error-resume-next
  Ignore missing files during parsing. Dangerous.
--help List all options
--verbose
  Be verbose during conversion.

SEE ALSO

pdns_server(8)
Search for    or go to Top of page |  Section 1 |  Main Index


PowerDNS ZONE2SQL (8) December 2002

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.