1ZONE2JSON(1) PowerDNS Recursor ZONE2JSON(1)
2
3
4
6 zone2json -
7
8 zone2json - convert BIND zones to JSON
9
11 zone2json {--named-conf=PATH, --zone-file=PATH [--zone-name=NAME]}
12 [OPTION]
13
15 zone2json parses Bind named.conf files and zonefiles and outputs JSON
16 on standard out, which can then be fed to the PowerDNS API.
17
18 zone2json understands the Bind master file extension $GENERATE and will
19 also honour $ORIGIN and $TTL.
20
23 --named-conf=<PATH>
24 Read PATH to get the bind configuration
25
26 --zone=<PATH>
27 Parse only the zone file at PATH Conflicts with --named-conf
28 parameter.
29
30 --zone-name=<NAME>
31 When parsing a single zone without $ORIGIN statement, set ZONE
32 as the zone name.
33
35 --help List all options
36
37 --on-error-resume-next
38 Ignore missing zone files during parsing. Dangerous.
39
40 --verbose
41 Be verbose during conversion.
42
44 pdns_server(1)
45
47 PowerDNS.COM BV
48
50 2001-2018, PowerDNS.COM BV
51
52
53
54
554.1 Mar 22, 2019 ZONE2JSON(1)