dnscontrol/docs/_providers/cscglobal.md
Mike Cochrane 9818eb1fca
New Registrar: CSC Global (#827)
* CSC Global Registrar provider

* better error handling. Coding standards.

* Just return the error
2020-09-07 12:00:21 -04:00

1.2 KiB

name title layout jsId
CSC Global CSC Global Provider default 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 contact your account manager.