ClouDNS Provider

Configuration

To use this provider, add an entry to creds.json with TYPE set to CLOUDNS along with your Api user ID and password.

Example:

{
  "cloudns": {
    "TYPE": "CLOUDNS",
    "auth-id": "12345",
    "sub-auth-id": "12345",
    "auth-password": "your-password"
  }
}

Current version of provider doesn’t support sub-auth-user.

Records

ClouDNS does support DS Record on subdomains (not the apex domain itself).

ClouDNS requires NS records exist for any DS records. No other records for the same label may exist (A, MX, TXT, etc.). If DNSControl is adding NS and DS records in the same update, the NS records will be inserted first.

Metadata

This provider does not recognize any special metadata fields unique to ClouDNS.

Web Redirects

ClouDNS supports ClouDNS-specific “WR record (web redirects)” for your domains. Simply use the CLOUDNS_WR functions to make redirects like any other record:

var REG_NONE = NewRegistrar("none");
var DSP_CLOUDNS = NewDnsProvider("cloudns");

D("example.tld", REG_NONE, DnsProvider(DSP_CLOUDNS),
  CLOUDNS_WR("@", "http://example.com/"),
  CLOUDNS_WR("www", "http://example.com/")
)

Usage

An example dnsconfig.js configuration:

var REG_NONE = NewRegistrar("none");
var DSP_CLOUDNS = NewDnsProvider("cloudns");

D("example.tld", REG_NONE, DnsProvider(DSP_CLOUDNS),
    A("test", "1.2.3.4")
);

Activation

Create Auth ID. Only paid account can use API

Caveats

ClouDNS does not allow all TTLs, only a specific subset of TTLs. By default, the following TTLs are supported:

The provider will automatically round up your TTL to one of these values. For example, 350 seconds would become 900 seconds, but 300 seconds would stay 300 seconds.