mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: add dhcid RR docs (#2715)
This commit is contained in:
committed by
GitHub
parent
9e1cb0fefd
commit
a5a1facdaf
15
commands/types/dnscontrol.d.ts
vendored
15
commands/types/dnscontrol.d.ts
vendored
@ -642,6 +642,21 @@ declare function D(name: string, registrar: string, ...modifiers: DomainModifier
|
||||
*/
|
||||
declare function DEFAULTS(...modifiers: DomainModifier[]): void;
|
||||
|
||||
/**
|
||||
* DHCID adds a DHCID record to the domain.
|
||||
*
|
||||
* Digest should be a string.
|
||||
*
|
||||
* ```javascript
|
||||
* D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
|
||||
* DHCID("example.com", "ABCDEFG")
|
||||
* );
|
||||
* ```
|
||||
*
|
||||
* @see https://docs.dnscontrol.org/language-reference/domain-modifiers/dhcid
|
||||
*/
|
||||
declare function DHCID(name: string, digest: string, ...modifiers: RecordModifier[]): DomainModifier;
|
||||
|
||||
/**
|
||||
* `DISABLE_IGNORE_SAFETY_CHECK()` disables the safety check. Normally it is an
|
||||
* error to insert records that match an `IGNORE()` pattern. This disables that
|
||||
|
Reference in New Issue
Block a user