mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Ns1 provider (#63)
* add ns1 libs to vendor * Create shim and wire into tests * ns1 provider more working. * vendor correct files * comment diff functions * ns1 docs * making mx work with ns1 * ? * refactor tests to make capability blocks easier. fix up ns1
This commit is contained in:
37
docs/_providers/ns1.md
Normal file
37
docs/_providers/ns1.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
name: NS1
|
||||
layout: default
|
||||
jsId: NS1
|
||||
---
|
||||
# NS1 Provider
|
||||
|
||||
NS1 provides a dns provider implementation for ns1 dns.
|
||||
|
||||
## Configuration
|
||||
|
||||
In your providers config json file you must provide your ns1 api key:
|
||||
|
||||
{% highlight json %}
|
||||
{
|
||||
"ns1":{
|
||||
"api_token": "your-ns1-token"
|
||||
}
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
## Metadata
|
||||
|
||||
This provider does not recognize any special metadata fields unique to ns1.
|
||||
|
||||
## Usage
|
||||
|
||||
Example javascript:
|
||||
|
||||
{% highlight js %}
|
||||
var NS1 = NewDnsProvider("ns1", "NS1");
|
||||
|
||||
D("example.tld", MY_REGISTRAR, DnsProvider(NS1),
|
||||
A("test","1.2.3.4")
|
||||
);
|
||||
{% endhighlight %}
|
||||
|
Reference in New Issue
Block a user