- 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.
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"zone": {
|
|
"_id": "<string> [ <class> ]",
|
|
"_mapbody": {
|
|
"type": {
|
|
"_grammar": "static-stub"
|
|
},
|
|
"allow-query": {
|
|
"_grammar": "{ <address_match_element>; ... }"
|
|
},
|
|
"allow-query-on": {
|
|
"_grammar": "{ <address_match_element>; ... }"
|
|
},
|
|
"forward": {
|
|
"_grammar": "( first | only )"
|
|
},
|
|
"forwarders": {
|
|
"_grammar": "[ port <integer> ] [ tls <string> ] { ( <ipv4_address> | <ipv6_address> ) [ port <integer> ] [ tls <string> ]; ... }"
|
|
},
|
|
"max-records": {
|
|
"_grammar": "<integer>"
|
|
},
|
|
"max-records-per-type": {
|
|
"_grammar": "<integer>"
|
|
},
|
|
"max-types-per-name": {
|
|
"_grammar": "<integer>"
|
|
},
|
|
"server-addresses": {
|
|
"_grammar": "{ ( <ipv4_address> | <ipv6_address> ); ... }"
|
|
},
|
|
"server-names": {
|
|
"_grammar": "{ <string>; ... }"
|
|
},
|
|
"template": {
|
|
"_grammar": "<string>"
|
|
},
|
|
"zone-statistics": {
|
|
"_grammar": "( full | terse | none | <boolean> )"
|
|
}
|
|
}
|
|
}
|
|
}
|