updating getting started doc for multiple providers (#104)

* updating getting started doc for multiple providers
This commit is contained in:
Tiernan OToole 2017-05-02 21:22:51 +01:00 committed by Tom Limoncelli
parent c4661744d7
commit 0d02c9adf4

View file

@ -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