mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 02:50:27 +08:00
e92717fc77
According usage example jsId should be all uppercase
833 B
833 B
name | title | layout | jsId |
---|---|---|---|
Netcup | Netcup Provider | default | NETCUP |
Netcup Provider
Configuration
In your credentials file, you must provide your api key, password and your customer number.
{% highlight json %} { "netcup": { "api-key": "abc12345", "api-password": "abc12345", "customer-number": "123456" } } {% endhighlight %}
Usage
Example Javascript:
{% highlight js %} var REG_NONE = NewRegistrar('none', 'NONE') var NETCUP = NewDnsProvider('netcup' 'NETCUP');
D('example.tld', REG_NONE, DnsProvider(NETCUP), A('test','1.2.3.4') ); {%endhighlight%}
Caveats
Netcup does not allow any TTLs to be set for individual records. Thus in
the diff/preview it will always show a TTL of 0. NS
records are also
not currently supported.