dnscontrol/docs/_providers/netcup.md
Julius Rickert 20dad35167
Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks

Replace Jekyll highlight tags with fenced code blocks.
Canonicalize javascript to js.
Correct highlighting languages.
Add highlighting to code blocks.
Remove leading $ from bash blocks.
Remove empty lines at start and end of code blocks.
Stripped trailing whitespace.

* Fix language of code highlighting
2022-02-17 12:22:31 -05:00

779 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.

{
  "netcup": {
    "api-key": "abc12345",
    "api-password": "abc12345",
    "customer-number": "123456"
  }
}

Usage

Example Javascript:

var REG_NONE = NewRegistrar('none', 'NONE')
var NETCUP = NewDnsProvider('netcup' 'NETCUP');

D('example.tld', REG_NONE, DnsProvider(NETCUP),
    A('test','1.2.3.4')
);

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.