58 lines
1.3 KiB
Text
58 lines
1.3 KiB
Text
|
|
let _concerns_lib = import "schemas/lib/concerns.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
CoreDNSForward = {
|
||
|
|
source | String,
|
||
|
|
forward_ip | String | optional,
|
||
|
|
},
|
||
|
|
|
||
|
|
CoreDNSRecord = {
|
||
|
|
name | String,
|
||
|
|
ttl | Number,
|
||
|
|
rectype | String,
|
||
|
|
server_pos | Number | optional,
|
||
|
|
source | String | optional,
|
||
|
|
target_ip | String | optional,
|
||
|
|
value | String | optional,
|
||
|
|
comment | String | optional,
|
||
|
|
etcd_dns_ttl | Number,
|
||
|
|
etcd_peer_port | Number,
|
||
|
|
etcd_cli_port | Number,
|
||
|
|
},
|
||
|
|
|
||
|
|
NameServer = {
|
||
|
|
ns_ip | String,
|
||
|
|
},
|
||
|
|
|
||
|
|
EntryKind = [| 'forward, 'private_zone |],
|
||
|
|
|
||
|
|
CoreDNSEntry = {
|
||
|
|
kind | EntryKind | default = 'forward,
|
||
|
|
domain | String,
|
||
|
|
port | Number,
|
||
|
|
bind | String | optional,
|
||
|
|
file | String | optional,
|
||
|
|
records | Array Dyn,
|
||
|
|
forward | Dyn,
|
||
|
|
use_log | Bool,
|
||
|
|
use_errors | Bool,
|
||
|
|
use_cache | Bool,
|
||
|
|
etcd_cluster_name | String,
|
||
|
|
},
|
||
|
|
|
||
|
|
CoreDNS = {
|
||
|
|
version | String,
|
||
|
|
name | String,
|
||
|
|
hostname | String,
|
||
|
|
etc_corefile | String,
|
||
|
|
nameservers | Array Dyn,
|
||
|
|
domains_search | String,
|
||
|
|
entries | Array Dyn,
|
||
|
|
|
||
|
|
# ServiceConcerns umbrella (ADR-008). Internal DNS server — dns_provider preset.
|
||
|
|
concerns | _concerns_lib.ServiceConcerns | optional,
|
||
|
|
|
||
|
|
..
|
||
|
|
},
|
||
|
|
}
|