dnscontrol/docs/_providers/internetbs.md

41 lines
1,006 B
Markdown
Raw Normal View History

---
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`