Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 583 Bytes

File metadata and controls

35 lines (29 loc) · 583 Bytes
name DNSKEY
parameters
name
flags
protocol
algorithm
publicKey
modifiers...
parameter_types
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 %}