dnscontrol/documentation/provider/easyname.md
2024-05-13 08:47:23 -04:00

1,001 B

DNSControl's easyname provider supports being a Registrar. Support for being a DNS Provider is not included, but could be added in the future.

Configuration

To use this provider, add an entry to creds.json with TYPE set to EASYNAME along with API-Access information

Example:

{% code title="creds.json" %}

{
  "easyname": {
    "TYPE": "EASYNAME",
    "apikey": "API Key",
    "authsalt": "API Authentication Salt",
    "email": "example@example.com",
    "signsalt": "API Signing Salt",
    "userid": 12345
  }
}

{% endcode %}

Metadata

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

Usage

An example configuration:

{% code title="dnsconfig.js" %}

var REG_EASYNAME = NewRegistrar("easyname");

D("example.com", REG_EASYNAME,
  NAMESERVER("ns1.example.com."),
  NAMESERVER("ns2.example.com."),
END);

{% endcode %}

Activation

You must enable API-Access for your account.