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

DOCS: The Javascript code examples are no longer tied to a DNS provider (#2443)

This commit is contained in:
Jeffrey Cafferata
2023-06-18 05:35:13 +02:00
committed by GitHub
parent 5b3bb312ea
commit 8656ffdbd5
24 changed files with 34 additions and 44 deletions

View File

@@ -26,7 +26,7 @@ Flags are controlled by modifier:
{% code title="dnsconfig.js" %}
```javascript
D("example.com", REG_MY_PROVIDER, DnsProvider("GCLOUD"),
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
// Allow letsencrypt to issue certificate for this domain
CAA("@", "issue", "letsencrypt.org"),
// Allow no CA to issue wildcard certificate for this domain