Using libdns to add CNAME records

I have tried to use the libdns update API for DNS based ACME challenges and it works nicely. What I would really like to be doing is to add a CNAME record for my newly configured domain as well. Caddy already knows how to update my DNS provider, so wouldn’t it be cool if it could add my CNAME record to my server as well?

You would need another plugin similar to GitHub - mholt/caddy-dynamicdns: Caddy app that keeps your DNS records (A/AAAA) pointed at itself. to do this. I don’t think there is any that sets CNAME yet. You could write one to do that though.

This topic was automatically closed after 30 days. New replies are no longer allowed.