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
DNSDBCK(1) User Contributed Perl Documentation DNSDBCK(1)

dnsdbck - check and, if possible, repair the DNS database

dnsdbck [options] [zone] [zone...]

Dnsdbck checks the DNS database for consistency and repairs it, when possible. For each record in a specified set of zones, it checks whether a corresponding reverse exists. If it does not, dnsdbck tries to create it, if the corresponding "in-addr.arpa" zone is present in the database or if its IP address falls within CIDRs set using the --create-reverse-soa option (see below). In the latter case, corresponding SOA and NS records will be created.

--all, -a
Process all zones. When this option is used, any zone arguments are ignored.
--create-reverse-soa=cidr,[cidr...]
Create SOA and NS records for reverse zones matching given CIDRs.
--ignore-zone=zone[,zone...]
Ignore changes to the listed zones.
--ignore-zone-from=FILE
Read the list of zones to ignore from FILE. The file format is: one zone per line, UNIX comments and empty lines are ignored.
--ignore-host=host[,host...]
Ignore changes to the listed hostnames.
--ignore-host-from=FILE
Read the list of hostnames to ignore from FILE. The file format is: one host per line, UNIX comments and empty lines are ignored.
--my-cnf=FILE, -c FILE
Use FILE as MySQL options file. Default is "$HOME/.my.cnf".
--author=NAME, -a NAME
Use NAME for the author column. Default is your login name.
--user-name=NAME, -u NAME
Switch to the privileges of user NAME after startup.
--outfile=FILE, -o FILE
Write SQL instructions to repair the database to FILE. Implies --dry-run.
--log-file=FILE, -l FILE
Write diagnostic output to FILE, instead of standard error.
--dry-run, -n
Do not try to repair the database.
--debug[=spec[,spec...]], -d[spec[,spec...]]
Set debugging level. spec is either category or category=level, category is a debugging category name and level is a decimal verbosity level. Valid categories are: "GENERAL", "SQL", "DNS" and "MISSING" (all case-insensitive). If level is not supplied, 1 is used instead.
-h
Show a terse help summary and exit.
--help
Prints the manual page and exits.

The program reads its configuration from one of the following locations:
a. File name given by "DNSDBCK_CONF" environment variable (if set)
b. ~/.dnsdbck.conf
c. /etc/dnsdbck.conf

First of these files that exists is read. It is an error, if the $DNSDBCK_CONF variable is set, but points to a file that does not exist. It is not an error if $DNSDBCK_CONF is not set and neither of the two remaining files exist. It is, however, an error if any of the file exists, but is not readable.

The configuration file uses usual UNIX configuration format. Empty lines and UNIX comments are ignored. Each non-empty line is either an option name, or option assignment, i.e. opt=val, with any amount of optional whitespace around the equals sign. Valid option names are the same as long command line options, but without the leading --. For example:

  all
  ignore-zones-from = /etc/dns/zone.ignore
  ignore-hosts-from = /etc/dns/host.ignore 
  my-cnf            = /etc/dns/my.cnf

DNSDBCK_CONF
The name of the configuration file to read, instead of the default /etc/dnsdbck.conf.

Sergey Poznyakoff <gray@gnu.org>
2015-04-02 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

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