1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

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
2 changed files with 20 additions and 0 deletions

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