Add zone option JSON files for BIND9 grammar
- 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.
This commit is contained in:
58
bind9-grammar/redirect.zoneopt.json
Normal file
58
bind9-grammar/redirect.zoneopt.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"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> )"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user