2022-08-02 00:01:37 +08:00
|
|
|
## Configuration
|
|
|
|
|
|
|
|
To use this provider, add an entry to `creds.json` with `TYPE` set to `DOMAINNAMESHOP`
|
2022-08-20 12:51:25 +08:00
|
|
|
along with your [Domainnameshop Token and Secret](https://www.domeneshop.no/admin?view=api).
|
2022-08-02 00:01:37 +08:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"mydomainnameshop": {
|
|
|
|
"TYPE": "DOMAINNAMESHOP",
|
|
|
|
"token": "your-domainnameshop-token",
|
|
|
|
"secret": "your-domainnameshop-secret"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Metadata
|
2022-08-20 12:51:25 +08:00
|
|
|
This provider does not recognize any special metadata fields unique to Domainnameshop.
|
2022-08-02 00:01:37 +08:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
An example `dnsconfig.js` configuration:
|
|
|
|
|
2023-01-20 20:56:20 +08:00
|
|
|
```javascript
|
2022-08-02 00:01:37 +08:00
|
|
|
var REG_NONE = NewRegistrar("none");
|
|
|
|
var DSP_DOMAINNAMESHOP = NewDnsProvider("mydomainnameshop");
|
|
|
|
|
|
|
|
D("example.tld", REG_NONE, DnsProvider(DSP_DOMAINNAMESHOP),
|
|
|
|
A("test", "1.2.3.4")
|
|
|
|
);
|
|
|
|
```
|
|
|
|
|
|
|
|
## Activation
|
|
|
|
[Create API Token and secret](https://www.domeneshop.no/admin?view=api)
|
|
|
|
|
|
|
|
## Limitations
|
|
|
|
|
2023-01-20 20:56:20 +08:00
|
|
|
- Domainnameshop DNS only supports TTLs which are a multiple of 60.
|