dnscontrol/docs/_providers/desec.md
Julius Rickert 20dad35167
Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks

Replace Jekyll highlight tags with fenced code blocks.
Canonicalize javascript to js.
Correct highlighting languages.
Add highlighting to code blocks.
Remove leading $ from bash blocks.
Remove empty lines at start and end of code blocks.
Stripped trailing whitespace.

* Fix language of code highlighting
2022-02-17 12:22:31 -05:00

777 B

name title layout jsId
deSEC deSEC Provider default DESEC

deSEC Provider

Configuration

In your providers credentials file you must provide a deSEC account auth token:

{
  "desec": {
    "auth-token": "your-deSEC-auth-token"
  }
}

Metadata

This provider does not recognize any special metadata fields unique to deSEC.

Usage

Example Javascript:

var REG_NONE = NewRegistrar('none', 'NONE');    // No registrar.
var deSEC = NewDnsProvider('desec', 'DESEC');  // deSEC

D('example.tld', REG_NONE, DnsProvider(deSEC),
    A('test','1.2.3.4')
);

Activation

DNSControl depends on a deSEC account auth token. This token can be obtained by logging in via the deSEC API: https://desec.readthedocs.io/en/latest/auth/account.html#log-in