mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 02:50:27 +08:00
c883c1ac68
* 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>
990 B
990 B
name | title | layout | jsId |
---|---|---|---|
hosting.de | hosting.de Provider | default | hostingde |
hosting.de Provider
Configuration
In your credentials file, you must provide your authToken
and optionally an ownerAccountId
.
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 %}