logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zone2json - convert BIND zones to JSON

Author

       PowerDNS.COM BV

Description

zone2json  parses BIND named.conf files and zonefiles and outputs JSON on standard out, which can then be
       fed to the PowerDNS API.

       zone2json understands the BIND master file extension $GENERATE and will also honour $ORIGIN and $TTL.

Input Options

--named-conf=<PATH>
              Read PATH to get the BIND configuration

       --zone=<PATH>
              Parse only the zone file at PATH Conflicts with --named-conf parameter.

       --zone-name=<NAME>
              When parsing a single zone without $ORIGIN statement, set ZONE as the zone name.

Name

       zone2json - convert BIND zones to JSON

Options

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)

Synopsis

zone2json {--named-conf=PATH, --zone-file=PATH [--zone-name=NAME]} [OPTION]

See Also