2021-10-05 01:01:38 +08:00
|
|
|
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
|
2022-05-09 02:41:33 +08:00
|
|
|
|
|
|
|
To use this provider, add an entry to `creds.json` with `TYPE` set to `EASYNAME`
|
|
|
|
along with [API-Access](https://my.easyname.com/en/account/api) information
|
|
|
|
|
|
|
|
Example:
|
2021-10-05 01:01:38 +08:00
|
|
|
|
2022-02-18 01:22:31 +08:00
|
|
|
```json
|
2021-10-05 01:01:38 +08:00
|
|
|
{
|
|
|
|
"easyname": {
|
2022-05-09 02:41:33 +08:00
|
|
|
"TYPE": "EASYNAME",
|
2021-10-05 01:01:38 +08:00
|
|
|
"apikey": "API Key",
|
|
|
|
"authsalt": "API Authentication Salt",
|
2022-05-09 02:41:33 +08:00
|
|
|
"email": "example@example.com",
|
|
|
|
"signsalt": "API Signing Salt",
|
|
|
|
"userid": 12345
|
2021-10-05 01:01:38 +08:00
|
|
|
}
|
|
|
|
}
|
2022-02-18 01:22:31 +08:00
|
|
|
```
|
2021-10-05 01:01:38 +08:00
|
|
|
|
|
|
|
## Metadata
|
|
|
|
This provider does not recognize any special metadata fields unique to easyname.
|
|
|
|
|
|
|
|
## Usage
|
2022-05-09 02:41:33 +08:00
|
|
|
An example `dnsconfig.js` configuration:
|
2021-10-05 01:01:38 +08:00
|
|
|
|
2023-01-20 20:56:20 +08:00
|
|
|
```javascript
|
2022-05-09 02:41:33 +08:00
|
|
|
var REG_EASYNAME = NewRegistrar("easyname");
|
2021-10-05 01:01:38 +08:00
|
|
|
|
|
|
|
D("example.com", REG_EASYNAME,
|
|
|
|
NAMESERVER("ns1.example.com."),
|
|
|
|
NAMESERVER("ns2.example.com."),
|
|
|
|
);
|
2022-02-18 01:22:31 +08:00
|
|
|
```
|
2021-10-05 01:01:38 +08:00
|
|
|
|
|
|
|
## Activation
|
|
|
|
|
|
|
|
You must enable API-Access for your account.
|