1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Adding gandi to integration suite. Fixing bugs. (#57)

* Adding gandi to integration suite. Fixing bugs.
Fixes #35
Fixes #36

* small fixes

* gandi docs
This commit is contained in:
Craig Peterson
2017-03-27 16:03:01 -06:00
committed by GitHub
parent efb8e9bbf4
commit d205c8b4ed
6 changed files with 104 additions and 27 deletions

38
docs/_providers/gandi.md Normal file
View File

@@ -0,0 +1,38 @@
---
name: Gandi
layout: default
jsId: GANDI
---
# Gandi Provider
Gandi provides bot a registrar and 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_GANDI = NewRegistrar("gandi", "GANDI");
var GANDI = NewDnsProvider("gandi", "GANDI");
D("example.tld", REG_GANDI, DnsProvider(GANDI),
A("test","1.2.3.4")
);
{% endhighlight %}