dnscontrol/docs/_providers/digitalocean.md
Juho Teperi ad27cc9b3b Digitalocean provider (#171)
* Implement Digitalocean provider
* Vendor digitalocean lib
* Enable SRV for Digitalocean and fix the tests
* Test cname etc. records pointing to the same domain
2017-08-10 13:31:20 -07:00

789 B

name layout jsId
Digitalocean default DIGITALOCEAN

Digitalocean Provider

Configuration

In your providers config json 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 route 53.

Usage

Example javascript:

{% highlight js %} var REG_NAMECOM = NewRegistrar("name.com","NAMEDOTCOM"); var DO = NewDnsProvider("do", "DIGITALOCEAN");

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

Activation

Create OAuth Token