mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -04:00
- Remove `IPV6_PREFIX` environment variable (unneeded) and remove associated code - Update all documentation for each provider supporting IPv6 - Build IPv6 as prefix:suffix when getting it from a public IP source for each record IPv6 suffix parameter - Automatically disable provider_ip if public ip is IPv6 and IPv6 suffix is set (they are not compatible with each other)
1.7 KiB
1.7 KiB
Netcup
Configuration
Note: This implementation does not require a domain reseller account. The warning in the dashboard can be ignored.
Also keep in mind, that TTL, Expire, Retry and Refresh values of the given Domain are not updated. They can be manually set in the dashboard. For DDNS purposes low numbers should be used.
Example
{
"settings": [
{
"provider": "netcup",
"domain": "domain.com",
"host": "host",
"api_key": "xxxxx",
"password": "yyyyy",
"customer_number": "111111",
"ip_version": "ipv4",
"ipv6_suffix": ""
}
]
}
Compulsory parameters
"domain"is your domain"host"is your host (subdomain) or"@"for the root of the domain. It cannot be the wildcard."api_key"is your api key (generated in the customercontrolpanel)"password"is your api password (generated in the customercontrolpanel). Netcup only allows one ApiPassword. This is not the account password. This password is used for all api keys."customer_number"is your customer number (viewable in the customercontrolpanel next to your name). As seen in the example above, provide the number as string value.
Optional parameters
"ip_version"can beipv4(A records), oripv6(AAAA records) oripv4 or ipv6(update one of the two, depending on the public ip found). It defaults toipv4 or ipv6."ipv6_suffix"is the IPv6 interface indentifier suffix to use. It can be for example0:0:0:0:72ad:8fbb:a54e:bedd/64. If left empty, it defaults to no suffix and the raw public IPv6 address obtained is used in the record updating.