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

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
This commit is contained in:
Juho Teperi
2017-08-10 23:31:20 +03:00
committed by Tom Limoncelli
parent 638ee45e6c
commit ad27cc9b3b
43 changed files with 5261 additions and 1 deletions

View File

@@ -0,0 +1,40 @@
---
name: Digitalocean
layout: default
jsId: DIGITALOCEAN
---
# Digitalocean Provider
## Configuration
In your providers config json file you must provide your
[Digitalocean OAuth Token](https://cloud.digitalocean.com/settings/applications)
{% 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](https://cloud.digitalocean.com/settings/applications)

View File

@@ -65,7 +65,6 @@ code to support this provider, please re-open the issue. We'd be glad to help in
<li>AWS R53 (DNS works. Request is to add Registrar support) (<a href="https://github.com/StackExchange/dnscontrol/issues/68">#68</a>)</li>
<li>Azure (<a href="https://github.com/StackExchange/dnscontrol/issues/42">#42</a>)</li>
<li>ClouDNS (<a href="https://github.com/StackExchange/dnscontrol/issues/114">#114</a>)</li>
<li>Digital Ocean (<a href="https://github.com/StackExchange/dnscontrol/issues/125">#125</a>)</li>
<li>Dyn (<a href="https://github.com/StackExchange/dnscontrol/issues/61">#61</a>)</li>
<li>Gandi (DNS works. Request is to add Registrar support) (<a href="https://github.com/StackExchange/dnscontrol/issues/87">#87</a>)</li>
<li>GoDaddy (<a href="https://github.com/StackExchange/dnscontrol/issues/145">#145</a>)</li>