feat(dnsconfig.js): add OpenPGP key discovery and Reactive Resume CNAME
feat(flake.nix): remove dnscontrol version override to use latest feat(types-dnscontrol.d.ts): update to DNSControl 4.45.0 with improved type definitions
This commit is contained in:
4 files changed
+17
-22
No files matched your search
Vendored
+10
-9
@@ -1,7 +1,7 @@
|
||||
// This file was automatically generated by DNSControl. Do not edit it directly.
|
||||
// To update it, run `dnscontrol write-types`.
|
||||
|
||||
// 4.38.0
|
||||
// 4.45.0
|
||||
// WARNING: These type definitions are experimental and subject to change in future releases.
|
||||
|
||||
interface Domain {
|
||||
@@ -31,7 +31,8 @@ type DomainModifier =
|
||||
|
||||
type RecordModifier =
|
||||
| ((record: DNSRecord) => void)
|
||||
| Partial<DNSRecord['meta']>;
|
||||
| Partial<DNSRecord['meta']>
|
||||
| RecordModifier[];
|
||||
|
||||
type Duration =
|
||||
| `${number}${'s' | 'm' | 'h' | 'd' | 'w' | 'n' | 'y' | ''}`
|
||||
@@ -545,21 +546,21 @@ declare function CAA(name: string, tag: "issue" | "issuewild" | "iodef" | "conta
|
||||
* ### Parameters
|
||||
*
|
||||
* * `label:` The label of the CAA record. (Optional. Default: `"@"`)
|
||||
* * `iodef:` Report all violation to configured mail address.
|
||||
* * `iodef:` Report all violation to configured mail address. (Optional. Default: `""`)
|
||||
* * `iodef_critical:` This can be `true` or `false`. If enabled and CA does not support this record, then certificate issue will be refused. (Optional. Default: `false`)
|
||||
* * `issue:` An array of CAs which are allowed to issue certificates. (Use `"none"` to refuse all CAs)
|
||||
* * `issue:` An array of CAs which are allowed to issue certificates. (Optional. Default: `[]`. Use `"none"` to refuse all CAs)
|
||||
* * `issue_critical:` This can be `true` or `false`. If enabled and CA does not support this record, then certificate issue will be refused. (Optional. Default: `false`)
|
||||
* * `issuewild:` An array of CAs which are allowed to issue wildcard certificates. (Can be simply `"none"` to refuse issuing wildcard certificates for all CAs)
|
||||
* * `issuewild:` An array of CAs which are allowed to issue wildcard certificates. (Optional. Default: `[]`. Can be simply `"none"` to refuse issuing wildcard certificates for all CAs)
|
||||
* * `issuewild_critical:` This can be `true` or `false`. If enabled and CA does not support this record, then certificate issue will be refused. (Optional. Default: `false`)
|
||||
* * `issuevmc:` An array of CAs which are allowed to issue VMC certificates. (Use `"none"` to refuse all CAs)
|
||||
* * `issuevmc:` An array of CAs which are allowed to issue VMC certificates. (Optional. Default: `[]`. Use `"none"` to refuse all CAs)
|
||||
* * `issuevmc_critical:` This can be `true` or `false`. If enabled and CA does not support this record, then certificate issue will be refused. (Optional. Default: `false`)
|
||||
* * `issuemail:` An array of CAs which are allowed to issue email certificates. (Use `"none"` to refuse all CAs)
|
||||
* * `issuemail:` An array of CAs which are allowed to issue email certificates. (Optional. Default: `[]`. Use `"none"` to refuse all CAs)
|
||||
* * `issuemail_critical:` This can be `true` or `false`. If enabled and CA does not support this record, then certificate issue will be refused. (Optional. Default: `false`)
|
||||
* * `ttl:` Input for `TTL` method (optional)
|
||||
*
|
||||
* @see https://docs.dnscontrol.org/language-reference/domain-modifiers/caa_builder
|
||||
*/
|
||||
declare function CAA_BUILDER(opts: { label?: string; iodef: string; iodef_critical?: boolean; issue: string[]|string; issue_critical?: boolean; issuewild: string[]|string; issuewild_critical?: boolean; issuevmc: string[]|string; issuevmc_critical?: boolean; issuemail: string[]|string; issuemail_critical?: boolean; ttl?: Duration }): DomainModifier;
|
||||
declare function CAA_BUILDER(opts: { label?: string; iodef?: string; iodef_critical?: boolean; issue?: string[]|'none'; issue_critical?: boolean; issuewild?: string[]|'none'; issuewild_critical?: boolean; issuevmc?: string[]|'none'; issuevmc_critical?: boolean; issuemail?: string[]|'none'; issuemail_critical?: boolean; ttl?: Duration }): DomainModifier;
|
||||
|
||||
/**
|
||||
* **WARNING:** Cloudflare is removing this feature and replacing it with a new
|
||||
@@ -3130,7 +3131,7 @@ declare const PURGE: DomainModifier;
|
||||
*
|
||||
* @see https://docs.dnscontrol.org/language-reference/domain-modifiers/service-provider-specific/amazon-route-53/r53_alias
|
||||
*/
|
||||
declare function R53_ALIAS(name: string, target: string, zone_idModifier: DomainModifier & RecordModifier, evaluatetargethealthModifier: RecordModifier): DomainModifier;
|
||||
declare function R53_ALIAS(name: string, type: "SOA" | "A" | "TXT" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS", target: string, ...modifiers: RecordModifier[]): DomainModifier;
|
||||
|
||||
/**
|
||||
* `R53_EVALUATE_TARGET_HEALTH` lets you enable target health evaluation for a [`R53_ALIAS()`](../domain-modifiers/R53_ALIAS.md) record. Omitting `R53_EVALUATE_TARGET_HEALTH()` from `R53_ALIAS()` set the behavior to false.
|
||||
|
||||
Reference in new issue
Block a user