2017-03-28 06:03:01 +08:00
|
|
|
---
|
|
|
|
name: Gandi
|
2017-10-11 20:33:17 +08:00
|
|
|
title: Gandi Provider
|
2017-03-28 06:03:01 +08:00
|
|
|
layout: default
|
|
|
|
jsId: GANDI
|
|
|
|
---
|
|
|
|
# Gandi Provider
|
|
|
|
|
2017-05-10 21:19:11 +08:00
|
|
|
Gandi provides a DnsProvider but not a Registrar.
|
2017-03-28 06:03:01 +08:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
In your providers config json file you must provide your Gandi.net api key:
|
|
|
|
|
|
|
|
{% highlight json %}
|
|
|
|
{
|
2017-10-11 20:33:52 +08:00
|
|
|
"gandi": {
|
2017-03-28 06:03:01 +08:00
|
|
|
"apikey": "your-gandi-key"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{% endhighlight %}
|
|
|
|
|
|
|
|
## Metadata
|
|
|
|
|
2017-05-10 21:19:11 +08:00
|
|
|
This provider does not recognize any special metadata fields unique to Gandi.
|
2017-03-28 06:03:01 +08:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Example javascript:
|
|
|
|
|
|
|
|
{% highlight js %}
|
|
|
|
var GANDI = NewDnsProvider("gandi", "GANDI");
|
|
|
|
|
2017-05-10 21:19:11 +08:00
|
|
|
D("example.tld", REG_GANDI, DnsProvider(GANDI),
|
2017-03-28 06:03:01 +08:00
|
|
|
A("test","1.2.3.4")
|
|
|
|
);
|
|
|
|
{% endhighlight %}
|
2017-05-03 21:32:47 +08:00
|
|
|
|
|
|
|
## New domains
|
|
|
|
|
|
|
|
If a domain does not exist in your Gandi account, DNSControl
|
|
|
|
will *not* automatically add it. You'll need to do that via the
|
|
|
|
control panel manually.
|