github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/provider/digitalocean.md (about)

     1  ## Configuration
     2  
     3  To use this provider, add an entry to `creds.json` with `TYPE` set to `DIGITALOCEAN`
     4  along with your [DigitalOcean OAuth Token](https://cloud.digitalocean.com/settings/applications).
     5  
     6  Example:
     7  
     8  {% code title="creds.json" %}
     9  ```json
    10  {
    11    "mydigitalocean": {
    12      "TYPE": "DIGITALOCEAN",
    13      "token": "your-digitalocean-ouath-token"
    14    }
    15  }
    16  ```
    17  {% endcode %}
    18  
    19  ## Metadata
    20  This provider does not recognize any special metadata fields unique to DigitalOcean.
    21  
    22  ## Usage
    23  An example configuration:
    24  
    25  {% code title="dnsconfig.js" %}
    26  ```javascript
    27  var REG_NONE = NewRegistrar("none");
    28  var DSP_DIGITALOCEAN = NewDnsProvider("mydigitalocean");
    29  
    30  D("example.com", REG_NONE, DnsProvider(DSP_DIGITALOCEAN),
    31      A("test", "1.2.3.4"),
    32  END);
    33  ```
    34  {% endcode %}
    35  
    36  ## Activation
    37  [Create OAuth Token](https://cloud.digitalocean.com/settings/applications)
    38  
    39  ## Limitations
    40  
    41  - Digitalocean DNS doesn't support `;` value with CAA-records ([DigitalOcean documentation](https://www.digitalocean.com/docs/networking/dns/how-to/create-caa-records/))
    42  - While Digitalocean DNS supports TXT records with multiple strings,
    43    their length is limited by the max API request of 512 octets.