2020-04-18 01:58:44 +08:00
---
name: Netcup
title: Netcup Provider
layout: default
2020-10-09 19:50:35 +08:00
jsId: NETCUP
2020-04-18 01:58:44 +08:00
---
# Netcup Provider
## Configuration
In your credentials file, you must provide your [api key, password and your customer number ](https://www.netcup-wiki.de/wiki/CCP_API#Authentifizierung ).
2022-02-18 01:22:31 +08:00
```json
2020-04-18 01:58:44 +08:00
{
"netcup": {
"api-key": "abc12345",
"api-password": "abc12345",
"customer-number": "123456"
}
}
2022-02-18 01:22:31 +08:00
```
2020-04-18 01:58:44 +08:00
## Usage
Example Javascript:
2022-02-18 01:22:31 +08:00
```js
2020-04-18 01:58:44 +08:00
var REG_NONE = NewRegistrar('none', 'NONE')
var NETCUP = NewDnsProvider('netcup' 'NETCUP');
D('example.tld', REG_NONE, DnsProvider(NETCUP),
A('test','1.2.3.4')
);
2022-02-18 01:22:31 +08:00
```
2020-04-18 01:58:44 +08:00
## 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
2020-10-09 19:50:35 +08:00
not currently supported.