mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-15 12:45:14 +08:00
41 lines
1,006 B
Markdown
41 lines
1,006 B
Markdown
|
---
|
||
|
name: Internet.bs
|
||
|
title: Internet.bs Provider
|
||
|
layout: default
|
||
|
jsId: INTERNETBS
|
||
|
---
|
||
|
# Internet.bs Provider
|
||
|
|
||
|
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
|
||
|
In your credentials file, you must provide your API key and account password
|
||
|
|
||
|
{% highlight json %}
|
||
|
{
|
||
|
"internetbs": {
|
||
|
"api-key": "your-api-key",
|
||
|
"password": "account-password"
|
||
|
}
|
||
|
}
|
||
|
{% endhighlight %}
|
||
|
|
||
|
## Metadata
|
||
|
This provider does not recognize any special metadata fields unique to Internet.bs.
|
||
|
|
||
|
## Usage
|
||
|
Example Javascript:
|
||
|
|
||
|
{% highlight js %}
|
||
|
var REG_INTERNETBS = NewRegistrar('internetbs', 'INTERNETBS');
|
||
|
var GCLOUD = NewDnsProvider("gcloud", "GCLOUD"); // Any provider
|
||
|
|
||
|
D("example.tld", REG_INTERNETBS, DnsProvider(GCLOUD),
|
||
|
A("test","1.2.3.4")
|
||
|
);
|
||
|
{% endhighlight %}
|
||
|
|
||
|
## Activation
|
||
|
|
||
|
Pay attention, you need to define white list of IP for API. But you always can change it on `My Profile > Reseller Settings`
|