mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 10:58:17 +08:00
61 lines
1.6 KiB
Markdown
61 lines
1.6 KiB
Markdown
|
---
|
||
|
name: DNSMADEEASY
|
||
|
title: DNS Made Simple Provider
|
||
|
layout: default
|
||
|
jsId: DNSMADEEASY
|
||
|
---
|
||
|
# DNS Made Simple Provider
|
||
|
|
||
|
## Configuration
|
||
|
In your credentials file, you must provide your `api_key` and `secret_key`. More info about authentication can be found in [DNS Made Easy API docs](https://api-docs.dnsmadeeasy.com/).
|
||
|
|
||
|
{% highlight json %}
|
||
|
{
|
||
|
"dnsmadeeasy": {
|
||
|
"api_key": "1c1a3c91-4770-4ce7-96f4-54c0eb0e457a",
|
||
|
"secret_key": "e2268cde-2ccd-4668-a518-8aa8757a65a0"
|
||
|
}
|
||
|
}
|
||
|
{% endhighlight %}
|
||
|
|
||
|
## Records
|
||
|
|
||
|
ALIAS/ANAME records are supported.
|
||
|
|
||
|
This provider does not support HTTPRED records.
|
||
|
|
||
|
SPF records are ignored by this provider. Use TXT records instead.
|
||
|
|
||
|
## Metadata
|
||
|
This provider does not recognize any special metadata fields unique to DNS Made Easy.
|
||
|
|
||
|
## Usage
|
||
|
Example Javascript:
|
||
|
|
||
|
{% highlight js %}
|
||
|
var REG_NONE = NewRegistrar('none', 'NONE')
|
||
|
var DNSMADEEASY = NewDnsProvider("dnsmadeeasy", "DNSMADEEASY");
|
||
|
|
||
|
D("example.tld", REG_NONE, DnsProvider(DNSMADEEASY),
|
||
|
A("test","1.2.3.4")
|
||
|
);
|
||
|
{%endhighlight%}
|
||
|
|
||
|
## Activation
|
||
|
You can generate your `api_key` and `secret_key` in [Control Panel](https://cp.dnsmadeeasy.com/) in Account Information in Config menu.
|
||
|
|
||
|
API is only available for Business plan and higher plans.
|
||
|
|
||
|
## Caveats
|
||
|
|
||
|
### Global Traffic Director
|
||
|
Global Traffic Director feature is not supported.
|
||
|
|
||
|
## Development
|
||
|
|
||
|
### Debugging
|
||
|
Set `DNSMADEEASY_DEBUG_HTTP` environment variable to dump all API calls made by this provider.
|
||
|
|
||
|
### Testing
|
||
|
Set `sandbox` key to any non-empty value in credentials JSON alongside `api_key` and `secret_key` to make all API calls against DNS Made Easy sandbox environment.
|