Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nathanejohnson/caddydns-powerdns


https://github.com/nathanejohnson/caddydns-powerdns

Last synced: 26 days ago
JSON representation

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
}
}
```