dnscontrol/docs/_providers/digitalocean.md
Patrick G 002426ce4d Improved DigitalOcean documentation (#227)
- Grammar fixes
- Formatting improvements
- Changed a completly wrong statement about route53 (should be about DO)
2017-10-11 13:13:31 -04:00

814 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("do", "DIGITALOCEAN");

D("example.tld", REG_NONE, DnsProvider(DIGITALOCEAN), A("test","1.2.3.4") ); {%endhighlight%}

Activation

Create OAuth Token