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

Improve Gandi documentation (#229)

- Markdown formatting improvements
- Other fixes
This commit is contained in:
Patrick G
2017-10-11 10:10:01 -04:00
committed by Craig Peterson
parent 7f87deb4e5
commit 326e3a803c

View File

@ -6,11 +6,8 @@ jsId: GANDI
--- ---
# Gandi Provider # Gandi Provider
Gandi provides a DnsProvider but not a Registrar.
## Configuration ## Configuration
In your credentials file you must provide your Gandi.net API key:
In your providers config json file you must provide your Gandi.net api key:
{% highlight json %} {% highlight json %}
{ {
@ -21,12 +18,10 @@ In your providers config json file you must provide your Gandi.net api key:
{% endhighlight %} {% endhighlight %}
## Metadata ## Metadata
This provider does not recognize any special metadata fields unique to Gandi. This provider does not recognize any special metadata fields unique to Gandi.
## Usage ## Usage
Example Javascript:
Example javascript:
{% highlight js %} {% highlight js %}
var GANDI = NewDnsProvider("gandi", "GANDI"); var GANDI = NewDnsProvider("gandi", "GANDI");
@ -37,7 +32,4 @@ D("example.tld", REG_GANDI, DnsProvider(GANDI),
{% endhighlight %} {% endhighlight %}
## New domains ## New domains
If a domain does not exist in your Gandi account, DNSControl will *not* automatically add it with the `create-domains` command. You'll need to do that via the control panel manually.
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.