mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 10:58:17 +08:00
1f471a15b9
* DIGITALOCEAN: Support TXTMulti with caveats * go get github.com/digitalocean/godo * DIGITALOCEAN: Enable CI tests
1.2 KiB
1.2 KiB
name | title | layout | jsId |
---|---|---|---|
DigitalOcean | DigitalOcean Provider | default | DIGITALOCEAN |
DigitalOcean Provider
Configuration
In your credentials file, you must provide your DigitalOcean OAuth Token
{% highlight json %} { "digitalocean": { "token": "your-digitalocean-ouath-token" } } {% endhighlight %}
Metadata
This provider does not recognize any special metadata fields unique to DigitalOcean.
Usage
Example Javascript:
{% highlight js %} var REG_NONE = NewRegistrar('none', 'NONE') var DIGITALOCEAN = NewDnsProvider("digitalocean", "DIGITALOCEAN");
D("example.tld", REG_NONE, DnsProvider(DIGITALOCEAN), A("test","1.2.3.4") ); {%endhighlight%}
Activation
Limitations
- Digitalocean DNS doesn't support
;
value with CAA-records (DigitalOcean documentation) - While Digitalocean DNS supports TXT records with multiple strings, their implementation is lacking. It does not support strings that include double-quotes nor many long strings. The length limits may restrict your ability to use very long DKIM or SPF records.