OS Manuals

/usr/bin/zone2sql

PowerDNS zone2sql tool

From pdns-auth-tool-zone2sql-5.0 5.0.8-r1 (enterprise-packages), captured 2026-11-08 by running zone2sql --help (exit 0). permalink

syntax:

  --delete-matching-domains | --delete-matching-domains=yes | --delete-matching-domains=no
	Delete existing matching domains before emitting new domain
  --filter-duplicate-soa | --filter-duplicate-soa=yes | --filter-duplicate-soa=no
	Filter second SOA in zone
  --gmysql | --gmysql=yes | --gmysql=no
	Output in format suitable for default gmysqlbackend
  --gpgsql | --gpgsql=yes | --gpgsql=no
	Output in format suitable for default gpgsqlbackend
  --gsqlite | --gsqlite=yes | --gsqlite=no
	Output in format suitable for default gsqlitebackend
  --help
	Provide a helpful message
  --ignore-unknown-settings=...
	Configuration settings to ignore if they are unknown
  --json-comments | --json-comments=yes | --json-comments=no
	Parse json={} field for disabled & comments
  --max-generate-steps=...
	Maximum number of $GENERATE steps when loading a zone from a file
  --max-include-depth=...
	Maximum nested $INCLUDE depth when loading a zone from a file
  --named-conf=...
	Bind 8/9 named.conf to parse
  --on-error-resume-next | --on-error-resume-next=yes | --on-error-resume-next=no
	Continue after errors
  --secondary | --secondary=yes | --secondary=no
	Keep BIND secondaries as secondaries. Only works with named-conf.
  --transactions | --transactions=yes | --transactions=no
	If target SQL supports it, use transactions
  --verbose | --verbose=yes | --verbose=no
	Verbose comments on operation
  --version
	Print the version
  --zone=...
	Zonefile to parse
  --zone-name=...
	Specify an $ORIGIN in case it is not present
Options (8)
OptionDescriptionSource
--helpProvide a helpful messagehelp
--ignore-unknown-settings ...Configuration settings to ignore if they are unknownhelp
--max-generate-steps ...Maximum number of $GENERATE steps when loading a zone from a filehelp
--max-include-depth ...Maximum nested $INCLUDE depth when loading a zone from a filehelp
--named-conf ...Bind 8/9 named.conf to parsehelp
--versionPrint the versionhelp
--zone ...Zonefile to parsehelp
--zone-name ...Specify an $ORIGIN in case it is not presenthelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.