2017-03-19 09:58:47 +08:00
|
|
|
---
|
|
|
|
name: Dnsimple
|
|
|
|
layout: default
|
|
|
|
jsId: DNSIMPLE
|
|
|
|
---
|
|
|
|
# Dnsimple Provider
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
In your providers config json file you must provide a DNSimple account access token:
|
|
|
|
|
|
|
|
{% highlight json %}
|
|
|
|
{
|
|
|
|
"dnsimple":{
|
|
|
|
"token": "your-dnsimple-account-access-token"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{% endhighlight %}
|
|
|
|
|
|
|
|
## Metadata
|
|
|
|
|
|
|
|
This provider does not recognize any special metadata fields unique to DNSimple.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Example javascript:
|
|
|
|
|
|
|
|
{% highlight js %}
|
2017-03-28 06:03:01 +08:00
|
|
|
var REG_DNSIMPLE = NewRegistrar("dnsimple", "DNSIMPLE");
|
|
|
|
var DNSIMPLE = NewDnsProvider("dnsimple", "DNSIMPLE");
|
2017-03-19 09:58:47 +08:00
|
|
|
|
|
|
|
D("example.tld", REG_DNSIMPLE, DnsProvider(DNSIMPLE),
|
|
|
|
A("test","1.2.3.4")
|
|
|
|
);
|
|
|
|
{% endhighlight %}
|
|
|
|
|
|
|
|
## Activation
|
|
|
|
|
|
|
|
DNSControl depends on a DNSimple account access token.
|