- Created primary.zoneopt.json to define grammar for primary zones with various options including allow-query, allow-transfer, and DNSSEC settings. - Added redirect.zoneopt.json for redirect zones, specifying options like allow-query and primaries. - Introduced secondary.zoneopt.json for secondary zones, detailing options such as allow-notify, forwarders, and notify configurations. - Implemented static-stub.zoneopt.json for static stub zones, including server-addresses and server-names options. - Added stub.zoneopt.json for stub zones, defining options like check-names and forwarders. - Created zoneopt.json as a general template for zone options, incorporating common fields across different zone types.
59 lines
1.8 KiB
JSON
59 lines
1.8 KiB
JSON
{
|
|
"zone": {
|
|
"_id": "<string> [ <class> ]",
|
|
"_mapbody": {
|
|
"type": {
|
|
"_grammar": "redirect"
|
|
},
|
|
"allow-query": {
|
|
"_grammar": "{ <address_match_element>; ... }"
|
|
},
|
|
"allow-query-on": {
|
|
"_grammar": "{ <address_match_element>; ... }"
|
|
},
|
|
"dlz": {
|
|
"_grammar": "<string>"
|
|
},
|
|
"file": {
|
|
"_grammar": "<quoted_string>"
|
|
},
|
|
"masterfile-format": {
|
|
"_grammar": "( raw | text )"
|
|
},
|
|
"masterfile-style": {
|
|
"_grammar": "( full | relative )"
|
|
},
|
|
"max-records": {
|
|
"_grammar": "<integer>"
|
|
},
|
|
"max-records-per-type": {
|
|
"_grammar": "<integer>"
|
|
},
|
|
"max-types-per-name": {
|
|
"_grammar": "<integer>"
|
|
},
|
|
"max-zone-ttl": {
|
|
"_flags": [
|
|
"deprecated"
|
|
],
|
|
"_grammar": "( unlimited | <duration> )"
|
|
},
|
|
"plugin": {
|
|
"_flags": [
|
|
"may occur multiple times"
|
|
],
|
|
"_grammar": "( query ) <string> [ { <unspecified-text> } ]"
|
|
},
|
|
"primaries": {
|
|
"_grammar": "[ port <integer> ] [ source ( <ipv4_address> | * ) ] [ source-v6 ( <ipv6_address> | * ) ] { ( <server-list> | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key <string> ] [ tls <string> ]; ... }"
|
|
},
|
|
"template": {
|
|
"_grammar": "<string>"
|
|
},
|
|
"zone-statistics": {
|
|
"_grammar": "( full | terse | none | <boolean> )"
|
|
}
|
|
}
|
|
}
|
|
}
|