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

     1  ## Configuration
     2  
     3  To use this provider, add an entry to `creds.json` with `TYPE` set to `PORKBUN`
     4  along with your `api_key` and `secret_key`. More info about authentication can be found in [Getting started with the Porkbun API](https://kb.porkbun.com/article/190-getting-started-with-the-porkbun-api).
     5  
     6  Example:
     7  
     8  {% code title="creds.json" %}
     9  ```json
    10  {
    11    "porkbun": {
    12      "TYPE": "PORKBUN",
    13      "api_key": "your-porkbun-api-key",
    14      "secret_key": "your-porkbun-secret-key",
    15    }
    16  }
    17  ```
    18  {% endcode %}
    19  
    20  ## Metadata
    21  
    22  This provider does not recognize any special metadata fields unique to Porkbun.
    23  
    24  ## Usage
    25  
    26  An example configuration:
    27  
    28  {% code title="dnsconfig.js" %}
    29  ```javascript
    30  var REG_NONE = NewRegistrar("none");
    31  var DSP_PORKBUN = NewDnsProvider("porkbun");
    32  
    33  D("example.com", REG_NONE, DnsProvider(DSP_PORKBUN),
    34      A("test", "1.2.3.4"),
    35  END);
    36  ```
    37  {% endcode %}