1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Jeffrey Cafferata 05be3b83ed DOCS: Added GitBook code blocks syntax for dnsconfig.js. (#2149)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-13 16:30:21 -04:00

558 B

name parameters parameter_types
DS
name
keytag
algorithm
digesttype
digest
modifiers...
name keytag algorithm digesttype digest modifiers...
string number number number string RecordModifier[]

DS adds a DS record to the domain.

Key Tag should be a number.

Algorithm should be a number.

Digest Type must be a number.

Digest must be a string.

{% code title="dnsconfig.js" %}

D("example.com", REGISTRAR, DnsProvider(R53),
  DS("example.com", 2371, 13, 2, "ABCDEF")
);

{% endcode %}