mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-24 23:53:01 +08:00
DOCS: Added the missing provider OpenSRS
page (#2665)
This commit is contained in:
parent
811fa5477f
commit
609de61669
2 changed files with 20 additions and 0 deletions
|
@ -132,6 +132,7 @@
|
|||
* [Netcup](providers/netcup.md)
|
||||
* [Netlify](providers/netlify.md)
|
||||
* [NS1](providers/ns1.md)
|
||||
* [OpenSRS](providers/opensrs.md)
|
||||
* [Oracle Cloud](providers/oracle.md)
|
||||
* [OVH](providers/ovh.md)
|
||||
* [Packetframe](providers/packetframe.md)
|
||||
|
|
19
documentation/providers/opensrs.md
Normal file
19
documentation/providers/opensrs.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
## Configuration
|
||||
|
||||
To use this provider, add an entry to `creds.json` with `TYPE` set to `OpenSRS`
|
||||
along with your OpenSRS credentials.
|
||||
|
||||
## Usage
|
||||
|
||||
An example configuration:
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
var REG_NONE = NewRegistrar("none");
|
||||
var DSP_OPENSRS = NewDnsProvider("opensrs");
|
||||
|
||||
D("example.com", REG_NONE, DnsProvider(DSP_OPENSRS),
|
||||
A("test", "1.2.3.4")
|
||||
);
|
||||
```
|
||||
{% endcode %}
|
Loading…
Reference in a new issue