gufo.acme.clients.powerdns¶
A PowerDnsAcmeClient implementation.
PowerDnsAcmeClient
¶
Bases: AcmeClient
PowerDNS compatible ACME Client.
Fulfills dns-01 challenge by manipulating DNS RR via PowerDNS API.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
api_url |
str
|
Root url of the PowerDNS web. |
required |
api_key |
str
|
PowerDNS API key. |
required |
fulfill_dns_01(domain, challenge)
async
¶
Fulfill dns-01 challenge.
Update token via PowerDNS API.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
domain |
str
|
Domain name |
required |
challenge |
AcmeChallenge
|
AcmeChallenge instance, containing token. |
required |
Returns:
Type | Description |
---|---|
bool
|
True - on succeess. |
Raises:
Type | Description |
---|---|
AcmeFulfillmentFailed
|
On error. |