Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ZONE2JSON(1)		  PowerDNS Authoritative Server 	    ZONE2JSON(1)

NAME
     zone2json - convert BIND zones to JSON

SYNOPSIS
     zone2json {--named-conf=PATH, --zone-file=PATH [--zone-name=NAME]} [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-conf parame-
	    ter.

     --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)

AUTHOR
     PowerDNS.COM BV

COPYRIGHT
     PowerDNS.COM BV

				  Jun 29, 2026			    ZONE2JSON(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=zone2json&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help