mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-16 12:28:06 +08:00
401 B
401 B
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" %}
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 %}