Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathanejohnson/caddydns-powerdns
https://github.com/nathanejohnson/caddydns-powerdns
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nathanejohnson/caddydns-powerdns
- Owner: nathanejohnson
- License: mit
- Created: 2021-07-14T13:28:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-14T14:32:37.000Z (over 3 years ago)
- Last Synced: 2023-03-22T11:23:15.961Z (over 1 year ago)
- Language: Go
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**DEVELOPER INSTRUCTIONS:**
- Update module name in go.mod
- Update dependencies to latest versions
- Update name and year in license
- Customize configuration and Caddyfile parsing
- Update godocs / comments (especially provider name and nuances)
- Update README and remove this section---
PowerDNS module for Caddy
===========================This package contains a DNS provider module for [Caddy](https://github.com/caddyserver/caddy). It can be used to
manage DNS records with PowerDNS.## PowerDNS
```
dns.providers.powerdns
```## Config examples
To use this module for the ACME DNS challenge, [configure the ACME issuer in your Caddy JSON](https://caddyserver.com/docs/json/apps/tls/automation/policies/issuer/acme/) like so:
```json
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"name": "powerdns",
"api_token": "POWERDNS_API_TOKEN",
"server_url": "https://your.powerdns.com",
"server_id": "localhost"
}
}
}
}
```or with the Caddyfile:
```
# globally
{
acme_dns powerdns {
api_token POWERDNS_API_TOKEN
server_url https://your.powerdns.com
server_id localhost
}
}
``````
# one site
tls {
dns powerdns {
api_token POWERDNS_API_TOKEN
server_url https://your.powerdns.com
server_id localhost
}
}
```