mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 10:58:17 +08:00
38 lines
1.2 KiB
Markdown
38 lines
1.2 KiB
Markdown
|
---
|
||
|
name: CSC Global
|
||
|
title: CSC Global Provider
|
||
|
layout: default
|
||
|
jsId: CSCGLOBAL
|
||
|
---
|
||
|
# CSC Global Provider
|
||
|
|
||
|
DNSControl's CSC Global provider supports being a Registrar. Support for being a DNS Provider is not included, although CSC Global's API does provide for this so it could be implemented in the future.
|
||
|
|
||
|
## Configuration
|
||
|
In your `creds.json` file, you must provide your API key and user/client token. You can optionally provide an comma separated list of email addresses to have CSC Global send updates to.
|
||
|
|
||
|
{% highlight json %}
|
||
|
{
|
||
|
"cscglobal": {
|
||
|
"api-key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||
|
"user-token": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
|
||
|
"notification_emails": "test@exmaple.tld,hostmaster@example.tld"
|
||
|
}
|
||
|
}
|
||
|
{% endhighlight %}
|
||
|
|
||
|
## Usage
|
||
|
Example Javascript for `example.tld` and delegated to Route53:
|
||
|
|
||
|
{% highlight js %}
|
||
|
var REG_CSCGLOBAL = NewRegistrar('cscglobal', 'CSCGLOBAL');
|
||
|
var R53 = NewDnsProvider('r53_main', 'ROUTE53');
|
||
|
|
||
|
D("example.tld", REG_CSCGLOBAL, DnsProvider(R53),
|
||
|
A('test','1.2.3.4')
|
||
|
);
|
||
|
{% endhighlight %}
|
||
|
|
||
|
## Activation
|
||
|
To get access to the [CSC Global API](https://www.cscglobal.com/cscglobal/docs/dbs/domainmanager/api-v2/) contact your account manager.
|