mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
AUTODNSSEC -> AUTODNSSEC_ON (#863)
* AUTODNSSEC -> AUTODNSSEC_ON * Validate AutoDNSSEC values * AUTODNSSEC now generates a warning and does nothing.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
---
|
||||
name: AUTODNSSEC
|
||||
---
|
||||
|
||||
AUTODNSSEC indicates that the DNS provider can automatically manage
|
||||
DNSSEC for a domain and we should ask it to do so.
|
||||
|
||||
At this time, AUTODNSSEC 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.
|
||||
|
||||
{% include startExample.html %}
|
||||
{% highlight js %}
|
||||
D("example.com", .... ,
|
||||
AUTODNSSEC,
|
||||
);
|
||||
{%endhighlight%}
|
||||
{% include endExample.html %}
|
8
docs/_functions/domain/AUTODNSSEC_OFF.md
Normal file
8
docs/_functions/domain/AUTODNSSEC_OFF.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: AUTODNSSEC_OFF
|
||||
---
|
||||
|
||||
AUTODNSSEC_OFF tells the provider to disable AutoDNSSEC. It takes no
|
||||
parameters.
|
||||
|
||||
See `AUTODNSSEC_ON` for further details.
|
35
docs/_functions/domain/AUTODNSSEC_ON.md
Normal file
35
docs/_functions/domain/AUTODNSSEC_ON.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
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.
|
||||
|
||||
NOTE: No parenthesis should follow these keywords. That is, the
|
||||
correct syntax is `AUTODNSSEC_ON` not `AUTODNSSEC_ON()`
|
||||
|
||||
{% include startExample.html %}
|
||||
{% highlight js %}
|
||||
D("example.com", .... ,
|
||||
AUTODNSSEC_ON, // Enable AutoDNSSEC.
|
||||
A("@", "10.1.1.1")
|
||||
);
|
||||
|
||||
D("insecure.com", .... ,
|
||||
AUTODNSSEC_OFF, // Disable AutoDNSSEC.
|
||||
A("@", "10.2.2.2")
|
||||
);
|
||||
{%endhighlight%}
|
||||
{% include endExample.html %}
|
||||
|
||||
If neither `AUTODNSSEC_ON` or `AUTODNSSEC_OFF` is specified for a
|
||||
domain no changes will be requested.
|
Reference in New Issue
Block a user