1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Files
2024-04-22 09:54:12 -04:00

582 B

name, parameters, parameter_types
name parameters parameter_types
DNSKEY
name
flags
protocol
algorithm
publicKey
modifiers...
name flags protocol algorithm publicKey modifiers...
string number number number string RecordModifier[]

DNSKEY adds a DNSKEY record to the domain.

Flags should be a number.

Protocol should be a number.

Algorithm must be a number.

Public key must be a string.

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

D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
  DNSKEY("@", 257, 3, 13, "AABBCCDD")
);

{% endcode %}