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

     1  ## Configuration
     2  
     3  To use this provider, add an entry to `creds.json` with `TYPE` set to `DOMAINNAMESHOP`
     4  along with your [Domainnameshop Token and Secret](https://www.domeneshop.no/admin?view=api).
     5  
     6  Example:
     7  
     8  {% code title="creds.json" %}
     9  ```json
    10  {
    11    "mydomainnameshop": {
    12      "TYPE": "DOMAINNAMESHOP",
    13      "token": "your-domainnameshop-token",
    14      "secret": "your-domainnameshop-secret"
    15    }
    16  }
    17  ```
    18  {% endcode %}
    19  
    20  ## Metadata
    21  This provider does not recognize any special metadata fields unique to Domainnameshop.
    22  
    23  ## Usage
    24  An example configuration:
    25  
    26  {% code title="dnsconfig.js" %}
    27  ```javascript
    28  var REG_NONE = NewRegistrar("none");
    29  var DSP_DOMAINNAMESHOP = NewDnsProvider("mydomainnameshop");
    30  
    31  D("example.com", REG_NONE, DnsProvider(DSP_DOMAINNAMESHOP),
    32      A("test", "1.2.3.4"),
    33  END);
    34  ```
    35  {% endcode %}
    36  
    37  ## Activation
    38  [Create API Token and secret](https://www.domeneshop.no/admin?view=api)
    39  
    40  ## Limitations
    41  
    42  - Domainnameshop DNS only supports TTLs which are a multiple of 60.