mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 09:59:59 +08:00
41 lines
No EOL
1 KiB
Markdown
41 lines
No EOL
1 KiB
Markdown
DNSControl's Dynadot 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 `DYNADOT`
|
|
along with `key` from the [Dynadot API](https://www.dynadot.com/account/domain/setting/api.html).
|
|
|
|
Example:
|
|
|
|
{% code title="creds.json" %}
|
|
```json
|
|
{
|
|
"dynadot": {
|
|
"TYPE": "DYNADOT",
|
|
"key": "API Key",
|
|
}
|
|
}
|
|
```
|
|
{% endcode %}
|
|
|
|
## Metadata
|
|
This provider does not recognize any special metadata fields unique to Dynadot.
|
|
|
|
## Usage
|
|
An example configuration:
|
|
|
|
{% code title="dnsconfig.js" %}
|
|
```javascript
|
|
var REG_DYNADOT = NewRegistrar("dynadot");
|
|
|
|
DOMAIN_ELSEWHERE("example.com", REG_DYNADOT, [
|
|
"ns1.example.net.",
|
|
"ns2.example.net.",
|
|
"ns3.example.net.",
|
|
]);
|
|
```
|
|
{% endcode %}
|
|
|
|
## Activation
|
|
|
|
You must [enable the Dynadot API](https://www.dynadot.com/account/domain/setting/api.html) for your account and whitelist the IP address of the machine that will run DNSControl. |