mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 02:50:27 +08:00
ad27cc9b3b
* Implement Digitalocean provider * Vendor digitalocean lib * Enable SRV for Digitalocean and fix the tests * Test cname etc. records pointing to the same domain
789 B
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%}