dnscontrol/documentation/providers/dnsimple.md
Amelia Aronsohn bded57b375
DNSimple: Remove CAA Whitespace in Target restriction (#2250)
Signed-off-by: Amelia Aronsohn <squirrel@wearing.black>
2023-03-30 13:19:34 -04:00

1 KiB

Configuration

To use this provider, add an entry to creds.json with TYPE set to DNSIMPLE along with a DNSimple account access token.

You can also set the baseurl to use DNSimple's free sandbox for testing.

Examples:

{% code title="creds.json" %}

{
  "dnsimple": {
    "TYPE": "DNSIMPLE",
    "token": "your-dnsimple-account-access-token"
  },
  "dnsimple_sandbox": {
    "TYPE": "DNSIMPLE",
    "baseurl": "https://api.sandbox.dnsimple.com",
    "token": "your-sandbox-account-access-token"
  }
}

{% endcode %}

Metadata

This provider does not recognize any special metadata fields unique to DNSimple.

Usage

An example configuration:

{% code title="dnsconfig.js" %}

var REG_DNSIMPLE = NewRegistrar("dnsimple");
var DSP_DNSIMPLE = NewDnsProvider("dnsimple");

D("example.tld", REG_DNSIMPLE, DnsProvider(DSP_DNSIMPLE),
    A("test", "1.2.3.4")
);

{% endcode %}

Activation

DNSControl depends on a DNSimple account access token.

Caveats

None at this time