mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-12 10:27:57 +08:00
35 lines
951 B
Markdown
35 lines
951 B
Markdown
---
|
|
name: AUTODNSSEC_ON
|
|
---
|
|
|
|
AUTODNSSEC_ON tells the provider to enable AutoDNSSEC.
|
|
|
|
AUTODNSSEC_OFF tells the provider to disable AutoDNSSEC.
|
|
|
|
AutoDNSSEC is a feature where a DNS provider can automatically manage
|
|
DNSSEC for a domain. Not all providers support this.
|
|
|
|
At this time, AUTODNSSEC_ON takes no parameters. There is no ability
|
|
to tune what the DNS provider sets, no algorithm choice. We simply
|
|
ask that they follow their defaults when enabling a no-fuss DNSSEC
|
|
data model.
|
|
|
|
{% hint style="info" %}
|
|
**NOTE**: No parenthesis should follow these keywords. That is, the
|
|
correct syntax is `AUTODNSSEC_ON` not `AUTODNSSEC_ON()`
|
|
{% endhint %}
|
|
|
|
```javascript
|
|
D("example.com", .... ,
|
|
AUTODNSSEC_ON, // Enable AutoDNSSEC.
|
|
A("@", "10.1.1.1")
|
|
);
|
|
|
|
D("insecure.com", .... ,
|
|
AUTODNSSEC_OFF, // Disable AutoDNSSEC.
|
|
A("@", "10.2.2.2")
|
|
);
|
|
```
|
|
|
|
If neither `AUTODNSSEC_ON` or `AUTODNSSEC_OFF` is specified for a
|
|
domain no changes will be requested.
|