mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08:00
updating getting started doc for multiple providers (#104)
* updating getting started doc for multiple providers
This commit is contained in:
parent
c4661744d7
commit
0d02c9adf4
1 changed files with 16 additions and 0 deletions
|
@ -58,6 +58,22 @@ D('example.com', REG_NONE, DnsProvider(DNS_BIND),
|
|||
);
|
||||
{%endhighlight%}
|
||||
|
||||
You may modify this file to match your particular providers and domains. See [the javascript docs]({{site.github.url}}/js) and [the provider docs]({{site.github.url}}/provider-list) for more details.
|
||||
If you are using other providers, you will likely need to make a `creds.json` file with api tokens and other account information. For example, to use both name.com and Cloudflare, you would have:
|
||||
|
||||
{% highlight js %}
|
||||
{
|
||||
"cloudflare":{ //provider name to be used in dnsconfig.js
|
||||
"apikey": "key", //API key
|
||||
"apiuser": "username" //username for cloudflare
|
||||
},
|
||||
"namecom":{ //provider name to be used in dnsconfig.js
|
||||
"apikey": "key", //API Key
|
||||
"apiuser": "username" //username for name.com
|
||||
}
|
||||
}
|
||||
{%endhighlight%}
|
||||
|
||||
There are 2 types of providers:
|
||||
|
||||
A "Registrar" is who you register the domain with. Start with
|
||||
|
|
Loading…
Reference in a new issue