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:
19
bind9-grammar/forward.zoneopt.json
Normal file
19
bind9-grammar/forward.zoneopt.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"zone": {
|
||||
"_id": "<string> [ <class> ]",
|
||||
"_mapbody": {
|
||||
"type": {
|
||||
"_grammar": "forward"
|
||||
},
|
||||
"forward": {
|
||||
"_grammar": "( first | only )"
|
||||
},
|
||||
"forwarders": {
|
||||
"_grammar": "[ port <integer> ] [ tls <string> ] { ( <ipv4_address> | <ipv6_address> ) [ port <integer> ] [ tls <string> ]; ... }"
|
||||
},
|
||||
"template": {
|
||||
"_grammar": "<string>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user