github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/provider/netlify.md (about)

     1  ## Configuration
     2  
     3  To use this provider, add an entry to `creds.json` with `TYPE` set to `NETLIFY`
     4  along with a Netlify account personal access token. You can also optionally add an
     5  account slug. This is _typically_ your username on Netlify.
     6  
     7  Examples:
     8  
     9  {% code title="creds.json" %}
    10  ```json
    11  {
    12    "netlify": {
    13      "TYPE": "NETLIFY",
    14      "token": "your-netlify-account-access-token",
    15      "slug": "account-slug" // this is optional
    16    }
    17  }
    18  ```
    19  {% endcode %}
    20  
    21  ## Metadata
    22  This provider does not recognize any special metadata fields unique to Netlify.
    23  
    24  ## Usage
    25  An example configuration:
    26  
    27  {% code title="dnsconfig.js" %}
    28  ```javascript
    29  var REG_NETLIFY = NewRegistrar("netlify");
    30  var DSP_NETLIFY = NewDnsProvider("netlify");
    31  
    32  D("example.com", REG_NETLIFY, DnsProvider(DSP_NETLIFY),
    33      A("test", "1.2.3.4"),
    34  END);
    35  ```
    36  {% endcode %}
    37  
    38  ## Activation
    39  DNSControl depends on a Netlify account personal access token.
    40  
    41  ## Caveats
    42  Empty MX records are not supported.
    43  
    44