1ZONE2JSON(1)             PowerDNS Authoritative Server            ZONE2JSON(1)
2
3
4

NAME

6       zone2json - convert BIND zones to JSON
7

SYNOPSIS

9       zone2json {--named-conf=PATH, --zone-file=PATH [--zone-name=NAME]} [OP‐
10       TION]
11

DESCRIPTION

13       zone2json parses BIND named.conf files and zonefiles and  outputs  JSON
14       on standard out, which can then be fed to the PowerDNS API.
15
16       zone2json understands the BIND master file extension $GENERATE and will
17       also honour $ORIGIN and $TTL.
18

OPTIONS

INPUT OPTIONS

21       --named-conf=<PATH>
22              Read PATH to get the BIND configuration
23
24       --zone=<PATH>
25              Parse only the zone file at PATH Conflicts with --named-conf pa‐
26              rameter.
27
28       --zone-name=<NAME>
29              When  parsing  a single zone without $ORIGIN statement, set ZONE
30              as the zone name.
31

OTHER OPTIONS

33       --help List all options
34
35       --on-error-resume-next
36              Ignore missing zone files during parsing. Dangerous.
37
38       --verbose
39              Be verbose during conversion.
40

SEE ALSO

42       pdns_server(1)
43

AUTHOR

45       PowerDNS.COM BV
46
48       2001-2023, PowerDNS.COM BV
49
50
51
52
53                                 Oct 05, 2023                     ZONE2JSON(1)
Impressum