35 lines
751 B
Text
35 lines
751 B
Text
{
|
|
RecordType = [| 'A, 'AAAA, 'CNAME, 'MX, 'TXT, 'SRV, 'CAA, 'NS |],
|
|
|
|
RecordSource = [|
|
|
'manual,
|
|
'external_dns,
|
|
'provider_ptr,
|
|
|],
|
|
|
|
DnsRecord = {
|
|
zone | String,
|
|
name | String,
|
|
type | RecordType,
|
|
value | String,
|
|
ttl | Number,
|
|
priority | Number | optional,
|
|
proxied | Bool | default = false,
|
|
source | RecordSource | default = 'manual,
|
|
},
|
|
|
|
DnsZone = {
|
|
name | String,
|
|
provider | [| 'cloudflare, 'hetzner, 'aws |],
|
|
account_ref | String,
|
|
zone_id | String | optional,
|
|
},
|
|
|
|
DnsChallenge = {
|
|
name | String,
|
|
token | String,
|
|
record_id | String | optional,
|
|
},
|
|
|
|
RecordKey = { zone | String, name | String, type | RecordType },
|
|
}
|