mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 17:26:10 +08:00
1,001 B
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.