1. The problem I’m having:
I can use the RFC2136 to get a LetsEncrypt certificate just fine. Is it possible to CRUD DNS records with Caddy - maybe caddy-dynamicdns but I can see no records of RFC2136 in there.
2. Error messages and/or full log output:
Not applicable at this time
3. Caddy version:
2.6.2
4. How I installed and ran Caddy:
FROM caddy:2.6.2-builder AS builder
RUN xcaddy build v2.6.2 --with github.com/caddy-dns/rfc2136
FROM caddy:2.6.2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
a. System environment:
c. Service/unit/compose file:
version: '3.3'
services:
caddy:
image: caddy-with-dns:2.6.2
ports:
- "8443:443"
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- $PWD/site:/srv
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:
d. My complete Caddy config:
{
acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
}
<myhost>:443 {
log {
level DEBUG
output file /dev/stdout
}
reverse_proxy http://<myhost>:8080 {
header_up +X-SSH-Endpoint "{host}:50022"
header_down +X-SSH-Endpoint "{host}:50022"
}
tls {
dns rfc2136 {
key_name "<key>"
key_alg "hmac-sha512"
key "<redacted>"
server "<srv>4:53"
}
}
encode zstd gzip
}