Netlify
To use this provider, add an entry to
creds.json
with TYPE
set to NETLIFY
along with a Netlify account personal access token. You can also optionally add an account slug. This is typically your username on Netlify.Examples:
creds.json
{
"netlify": {
"TYPE": "NETLIFY",
"token": "your-netlify-account-access-token",
"slug": "account-slug" // this is optional
}
}
This provider does not recognize any special metadata fields unique to Netlify.
An example configuration:
dnsconfig.js
var REG_NETLIFY = NewRegistrar("netlify");
var DSP_NETLIFY = NewDnsProvider("netlify");
D("example.tld", REG_NETLIFY, DnsProvider(DSP_NETLIFY),
A("test", "1.2.3.4")
);
DNSControl depends on a Netlify account personal access token.
Empty MX records are not supported.
Last modified 21d ago