github.com/teknogeek/dnscontrol/v2@v2.10.1-0.20200227202244-ae299b55ba42/docs/_providers/digitalocean.md (about)

     1  ---
     2  name: DigitalOcean
     3  title: DigitalOcean Provider
     4  layout: default
     5  jsId: DIGITALOCEAN
     6  ---
     7  # DigitalOcean Provider
     8  
     9  ## Configuration
    10  In your credentials file, you must provide your
    11  [DigitalOcean OAuth Token](https://cloud.digitalocean.com/settings/applications)
    12  
    13  {% highlight json %}
    14  {
    15    "digitalocean": {
    16      "token": "your-digitalocean-ouath-token"
    17    }
    18  }
    19  {% endhighlight %}
    20  
    21  ## Metadata
    22  This provider does not recognize any special metadata fields unique to DigitalOcean.
    23  
    24  ## Usage
    25  Example Javascript:
    26  
    27  {% highlight js %}
    28  var REG_NONE = NewRegistrar('none', 'NONE')
    29  var DIGITALOCEAN = NewDnsProvider("digitalocean", "DIGITALOCEAN");
    30  
    31  D("example.tld", REG_NONE, DnsProvider(DIGITALOCEAN),
    32      A("test","1.2.3.4")
    33  );
    34  {%endhighlight%}
    35  
    36  ## Activation
    37  [Create OAuth Token](https://cloud.digitalocean.com/settings/applications)
    38  
    39  ## Limitations
    40  
    41  - Digialocean DNS doesn't support `;` value with CAA-records ([DigitalOcean documentation](https://www.digitalocean.com/docs/networking/dns/how-to/create-caa-records/))
    42  - No support for TXT records with multiple strings, as the API prevents espacing quotes.