dnscontrol/docs/_providers/digitalocean.md
Nikolay Kolev b3e35b56a2 DOC: Apply brand-preferred case (#429)
* Apply brand-preferred case

* Apply case to own branding as well
2019-05-23 09:29:21 -04:00

824 B

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

Create OAuth Token