mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-25 01:02:17 +08:00
Docs fixes (#85)
* 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.
This commit is contained in:
parent
55e7710b06
commit
ffb2ee7673
2 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ username and access token:
|
||||||
{
|
{
|
||||||
"cloudflare.com":{
|
"cloudflare.com":{
|
||||||
"apikey": "your-cloudflare-api-key",
|
"apikey": "your-cloudflare-api-key",
|
||||||
"apiuser": "your-cloudflare-username"
|
"apiuser": "your-cloudflare-email-address"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
|
@ -5,7 +5,7 @@ jsId: GANDI
|
||||||
---
|
---
|
||||||
# Gandi Provider
|
# Gandi Provider
|
||||||
|
|
||||||
Gandi provides both a registrar and a dns provider implementation.
|
Gandi provides both a dns provider implementation.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@ -28,10 +28,10 @@ This provider does not recognize any special metadata fields unique to DNSimple.
|
||||||
Example javascript:
|
Example javascript:
|
||||||
|
|
||||||
{% highlight js %}
|
{% highlight js %}
|
||||||
var REG_GANDI = NewRegistrar("gandi", "GANDI");
|
var REG_NAMECOM = NewRegistrar("name.com","NAMEDOTCOM");
|
||||||
var GANDI = NewDnsProvider("gandi", "GANDI");
|
var GANDI = NewDnsProvider("gandi", "GANDI");
|
||||||
|
|
||||||
D("example.tld", REG_GANDI, DnsProvider(GANDI),
|
D("example.tld", REG_NAMECOM, DnsProvider(GANDI),
|
||||||
A("test","1.2.3.4")
|
A("test","1.2.3.4")
|
||||||
);
|
);
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
Loading…
Reference in a new issue