dnscontrol/docs/_providers/cscglobal.md
Julius Rickert 20dad35167
Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks

Replace Jekyll highlight tags with fenced code blocks.
Canonicalize javascript to js.
Correct highlighting languages.
Add highlighting to code blocks.
Remove leading $ from bash blocks.
Remove empty lines at start and end of code blocks.
Stripped trailing whitespace.

* Fix language of code highlighting
2022-02-17 12:22:31 -05:00

1.1 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.

{
  "cscglobal": {
    "api-key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "user-token": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
    "notification_emails": "test@exmaple.tld,hostmaster@example.tld"
  }
}

Usage

Example Javascript for example.tld and delegated to Route53:

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')
);

Activation

To get access to the CSC Global API contact your account manager.