mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
36 lines
582 B
Markdown
36 lines
582 B
Markdown
---
|
|
name: DNSKEY
|
|
parameters:
|
|
- name
|
|
- flags
|
|
- protocol
|
|
- algorithm
|
|
- publicKey
|
|
- modifiers...
|
|
parameter_types:
|
|
name: string
|
|
flags: number
|
|
protocol: number
|
|
algorithm: number
|
|
publicKey: string
|
|
"modifiers...": 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" %}
|
|
```javascript
|
|
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
|
|
DNSKEY("@", 257, 3, 13, "AABBCCDD")
|
|
);
|
|
```
|
|
{% endcode %}
|