pdns.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Name = "PowerDNS"
  2. Description = ''''''
  3. URL = "https://www.powerdns.com/"
  4. Code = "pdns"
  5. Since = "v0.4.0"
  6. Example = '''
  7. PDNS_API_URL=http://pdns-server:80/ \
  8. PDNS_API_KEY=xxxx \
  9. lego --email you@example.com --dns pdns -d '*.example.com' -d example.com run
  10. '''
  11. Additional = '''
  12. ## Information
  13. 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.
  14. PowerDNS Notes:
  15. - 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.
  16. - 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
  17. - Some PowerDNS servers doesn't have root API endpoints enabled and API version autodetection will not work. In that case version number can be defined using `PDNS_API_VERSION`.
  18. '''
  19. [Configuration]
  20. [Configuration.Credentials]
  21. PDNS_API_KEY = "API key"
  22. PDNS_API_URL = "API URL"
  23. [Configuration.Additional]
  24. PDNS_SERVER_NAME = "Name of the server in the URL, 'localhost' by default"
  25. PDNS_API_VERSION = "Skip API version autodetection and use the provided version number."
  26. PDNS_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 2)"
  27. PDNS_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 120)"
  28. PDNS_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 120)"
  29. PDNS_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"
  30. [Links]
  31. API = "https://doc.powerdns.com/md/httpapi/README/"