dnscontrol/documentation/providers/internetbs.md

38 lines
895 B
Markdown
Raw Normal View History

DNSControl's Internet.bs provider supports being a Registrar. Support for being a DNS Provider is not included, but could be added in the future.
## Configuration
To use this provider, add an entry to `creds.json` with `TYPE` set to `INTERNETBS`
along with an API key and account password.
Example:
```json
{
"internetbs": {
"TYPE": "INTERNETBS",
"api-key": "your-api-key",
"password": "account-password"
}
}
```
## Metadata
This provider does not recognize any special metadata fields unique to Internet.bs.
## Usage
An example `dnsconfig.js` configuration:
```javascript
var REG_INTERNETBS = NewRegistrar("internetbs");
2020-01-28 20:44:52 +08:00
D("example.com", REG_INTERNETBS,
2021-01-06 10:18:07 +08:00
NAMESERVER("ns1.example.com."),
NAMESERVER("ns2.example.com."),
);
```
## Activation
2021-01-06 10:18:07 +08:00
Pay attention, you need to define white list of IP for API. But you always can change it on `My Profile > Reseller Settings`