zone2json¶
Synopsis¶
zone2json <INPUT_OPTION>… [OPTION]…
Description¶
zone2json parses BIND named.conf files and zonefiles and outputs JSON on standard output, which can then be fed to the PowerDNS API.
zone2json understands the BIND master file extension $GENERATE
and will also honour $ORIGIN and $TTL.
Options¶
INPUT Options¶
- --named-conf=<PATH>¶
Read PATH to get the BIND configuration
- --zone=<PATH>¶
Parse only the zone file at PATH. Conflicts with
--named-confparameter.
- --zone-name=<NAME>¶
When parsing a single zone without $ORIGIN statement, set ZONE as the zone name.
OTHER Options¶
- --help¶
List all options
- --on-error-resume-next¶
Ignore missing zone files during parsing. Dangerous.
- --verbose¶
Be verbose during conversion.
See also¶
pdns_server(1)