For the complete documentation index, see llms.txt. This page is also available as Markdown.

hosting.de

Configuration

To use this provider, add an entry to creds.json with TYPE set to HOSTINGDE along with your authToken and optionally an ownerAccountId.

Example:

creds.json
{
  "hosting.de": {
    "TYPE": "HOSTINGDE",
    "authToken": "YOUR_API_KEY"
  }
}

Usage

An example configuration:

dnsconfig.js
D("example.com", REGISTRAR("hosting.de"), SERVICE("hosting.de"),
    A("test", "1.2.3.4"),
);

Using this provider with http.net and others

http.net and other DNS service providers use an API that is compatible with hosting.de's API. Using them requires setting the baseURL and (optionally) overriding the default nameservers.

Example http.net configuration

An example creds.json configuration:

An example configuration:

Why this works

hosting.de has the concept of nameserver sets but this provider does not implement it. The HOSTINGDE provider ignores the default nameserver set defined in your account to avoid unintentional changes and consolidate the full configuration in DNSControl. Instead, it uses hosting.de's nameservers (ns1.hosting.de., ns2.hosting.de., and ns3.hosting.de.) by default, regardless of your account settings. Using the default_ns metadata, the default nameserver set can be overwritten.

Caveats

SOA

hosting.de derives the primary nameserver of a zone from its nameserver set and offers no way to override it, so the ns parameter of SOA() is ignored.

The contact address of a zone lives in the zone configuration rather than in an SOA record, so the mailbox of SOA() ends up there. A mailbox that names its own host is used as the address, so hostmaster.example.com. becomes hostmaster@example.com. One without a host is qualified with the zone name. The address may not end in a period; the API rejects that.

Feature Summary

Last updated