2020-09-08 04:00:21 +12:00
---
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
2022-05-08 14:41:33 -04:00
To use this provider, add an entry to `creds.json` with `TYPE` set to `CSCGLOBAL` .
2020-09-08 04:00:21 +12:00
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.
2022-05-08 14:41:33 -04:00
Example:
2022-02-17 18:22:31 +01:00
```json
2020-09-08 04:00:21 +12:00
{
"cscglobal": {
2022-05-08 14:41:33 -04:00
"TYPE": "CSCGLOBAL",
2020-09-08 04:00:21 +12:00
"api-key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"user-token": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
"notification_emails": "test@exmaple .tld,hostmaster@example .tld"
}
}
2022-02-17 18:22:31 +01:00
```
2020-09-08 04:00:21 +12:00
## Usage
2022-05-08 14:41:33 -04:00
An example `dnsconfig.js` configuration:
2020-09-08 04:00:21 +12:00
2022-02-17 18:22:31 +01:00
```js
2022-05-08 14:41:33 -04:00
var REG_CSCGLOBAL = NewRegistrar("cscglobal");
var DSP_BIND = NewDnsProvider("bind");
2020-09-08 04:00:21 +12:00
2022-05-08 14:41:33 -04:00
D("example.tld", REG_CSCGLOBAL, DnsProvider(DSP_BIND),
A("test", "1.2.3.4")
2020-09-08 04:00:21 +12:00
);
2022-02-17 18:22:31 +01:00
```
2020-09-08 04:00:21 +12:00
## Activation
To get access to the [CSC Global API ](https://www.cscglobal.com/cscglobal/docs/dbs/domainmanager/api-v2/ ) contact your account manager.