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

CLOUDFLARE: Added options to set the target account for new domains (#430)

This commit is contained in:
Bart S
2018-12-19 15:48:27 +01:00
committed by Tom Limoncelli
parent 133b7e6414
commit 5594904f3d
3 changed files with 34 additions and 0 deletions

View File

@@ -18,6 +18,19 @@ In the credentials file you must provide your Cloudflare API username and access
}
{% endhighlight %}
If your Cloudflare account has access to multiple Cloudflare accounts, you can specify which Cloudflare account should be used when adding new domains:
{% highlight json %}
{
"cloudflare": {
"apikey": "...",
"apiuser": "...",
"accountid": "your-cloudflare-account-id",
"accountname": "your-cloudflare-account-name"
}
}
{% endhighlight %}
## Metadata
Record level metadata availible:
* `cloudflare_proxy` ("on", "off", or "full")