mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-15 20:55:34 +08:00
ffb2ee7673
* Clarify what "apiuser" is in Cloudflare docs Confusingly it is the email address associated with the account, not the username. * Remove Gandi registrar from docs Because it doesn't actually exist.
37 lines
650 B
Markdown
37 lines
650 B
Markdown
---
|
|
name: Gandi
|
|
layout: default
|
|
jsId: GANDI
|
|
---
|
|
# Gandi Provider
|
|
|
|
Gandi provides both a dns provider implementation.
|
|
|
|
## Configuration
|
|
|
|
In your providers config json file you must provide your Gandi.net api key:
|
|
|
|
{% highlight json %}
|
|
{
|
|
"gandi":{
|
|
"apikey": "your-gandi-key"
|
|
}
|
|
}
|
|
{% endhighlight %}
|
|
|
|
## Metadata
|
|
|
|
This provider does not recognize any special metadata fields unique to DNSimple.
|
|
|
|
## Usage
|
|
|
|
Example javascript:
|
|
|
|
{% highlight js %}
|
|
var REG_NAMECOM = NewRegistrar("name.com","NAMEDOTCOM");
|
|
var GANDI = NewDnsProvider("gandi", "GANDI");
|
|
|
|
D("example.tld", REG_NAMECOM, DnsProvider(GANDI),
|
|
A("test","1.2.3.4")
|
|
);
|
|
{% endhighlight %}
|