mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* Add http.net provider * Rename httpnetProvider * Add SSHFP capability * Add paging for records * Sort documentation notes alphabetically * Add custom base URL * Extend documentation for custom base URL * - renamed to hosting.de - Fix EnsureDomainExists - GetNameservers read from NS Records * Replaced http.net with hosting.de Contributor Support from hosting.de * baseURL for hosting.de in documentation replaced %v with %w for errors special handling for txt records using .TxtStrings * removed last references to rc.Target fixed Trim of last dot * Re-engineer TXT records for simplicity and better compliance (#1063) Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com> Co-authored-by: Oliver Dick <o.dick@hosting.de> Co-authored-by: Oliver Dick <31733320+membero@users.noreply.github.com>
41 lines
990 B
Markdown
41 lines
990 B
Markdown
---
|
|
name: hosting.de
|
|
title: hosting.de Provider
|
|
layout: default
|
|
jsId: hostingde
|
|
---
|
|
# hosting.de Provider
|
|
|
|
## Configuration
|
|
In your credentials file, you must provide your [`authToken` and optionally an `ownerAccountId`](https://www.hosting.de/api/#requests-and-authentication).
|
|
|
|
**If you want to use this provider with http.net or a demo system you need to provide a custom `baseURL`.**
|
|
|
|
* hosting.de (default): `https://secure.hosting.de`
|
|
* http.net: `https://partner.http.net`
|
|
* Demo: `https://demo.routing.net`
|
|
|
|
{% highlight json %}
|
|
{
|
|
"hosting.de": {
|
|
"authToken": "YOUR_API_KEY"
|
|
},
|
|
"http.net": {
|
|
"authToken": "YOUR_API_KEY",
|
|
"baseURL": "https://partner.http.net"
|
|
}
|
|
}
|
|
{% endhighlight %}
|
|
|
|
## Usage
|
|
Example JavaScript:
|
|
|
|
{% highlight js %}
|
|
var REG_HOSTINGDE = NewRegistrar('hosting.de', 'HOSTINGDE')
|
|
var DNS_HOSTINGDE = NewDnsProvider('hosting.de' 'HOSTINGDE');
|
|
|
|
D('example.tld', REG_HOSTINGDE, DnsProvider(DNS_HOSTINGDE),
|
|
A('test', '1.2.3.4')
|
|
);
|
|
{% endhighlight %}
|