DOCS: Added the missing provider OpenSRS page (#2665)

This commit is contained in:
Jeffrey Cafferata 2023-12-04 16:04:55 +01:00 committed by GitHub
parent 811fa5477f
commit 609de61669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -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)

View 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 %}