2019-03-08 18:47:06 +00:00
|
|
|
Name = "PowerDNS"
|
|
|
|
Description = ''''''
|
|
|
|
URL = "https://www.powerdns.com/"
|
|
|
|
Code = "pdns"
|
2019-04-17 19:32:38 +00:00
|
|
|
Since = "v0.4.0"
|
2019-03-08 18:47:06 +00:00
|
|
|
|
2020-11-27 19:40:44 +00:00
|
|
|
Example = '''
|
|
|
|
PDNS_API_URL=http://pdns-server:80/ \
|
|
|
|
PDNS_API_KEY=xxxx \
|
|
|
|
lego --email myemail@example.com --dns pdns --domains my.example.org run
|
|
|
|
'''
|
2019-03-08 18:47:06 +00:00
|
|
|
|
|
|
|
Additional = '''
|
|
|
|
## Information
|
2016-08-19 07:07:18 +00:00
|
|
|
|
2018-12-06 21:50:17 +00:00
|
|
|
Tested and confirmed to work with PowerDNS authoritative server 3.4.8 and 4.0.1. Refer to [PowerDNS documentation](https://doc.powerdns.com/md/httpapi/README/) instructions on how to enable the built-in API interface.
|
2016-08-19 07:07:18 +00:00
|
|
|
|
|
|
|
PowerDNS Notes:
|
|
|
|
- PowerDNS API does not currently support SSL, therefore you should take care to ensure that traffic between lego and the PowerDNS API is over a trusted network, VPN etc.
|
2018-07-03 14:14:43 +00:00
|
|
|
- In order to have the SOA serial automatically increment each time the `_acme-challenge` record is added/modified via the API, set `SOA-EDIT-API` to `INCEPTION-INCREMENT` for the zone in the `domainmetadata` table
|
2019-03-08 18:47:06 +00:00
|
|
|
'''
|
|
|
|
|
|
|
|
[Configuration]
|
|
|
|
[Configuration.Credentials]
|
|
|
|
PDNS_API_KEY = "API key"
|
2020-09-29 22:27:08 +00:00
|
|
|
PDNS_API_URL = "API URL"
|
2019-03-08 18:47:06 +00:00
|
|
|
[Configuration.Additional]
|
|
|
|
PDNS_POLLING_INTERVAL = "Time between DNS propagation check"
|
|
|
|
PDNS_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation"
|
|
|
|
PDNS_TTL = "The TTL of the TXT record used for the DNS challenge"
|
|
|
|
PDNS_HTTP_TIMEOUT = "API request timeout"
|
2021-03-17 08:53:38 +00:00
|
|
|
PDNS_SERVER_NAME = "Name of the server in the URL, 'localhost' by default"
|
2019-03-08 18:47:06 +00:00
|
|
|
|
|
|
|
[Links]
|
|
|
|
API = "https://doc.powerdns.com/md/httpapi/README/"
|