mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-15 12:45:14 +08:00
002426ce4d
- Grammar fixes - Formatting improvements - Changed a completly wrong statement about route53 (should be about DO)
814 B
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%}