Can I add DNS records with free tier?

Hello

I am thinking to use the free tier features for my domain, however, I am using certbot to renew my SSL certificate that is generate with letsencrypt and added to my Nginx server.

When I renew the SSL, I need to write DNS records to my domain using API calls. Is that possible with the free tier ??

Thanks,

Samir

Yes, and there is a plugin for Certbot to use with Cloudflare which does the API work for you…
https://certbot-dns-cloudflare.readthedocs.io/en/stable/

3 Likes

@sjr thanks for your reply, I tried that solution, I have this rule in crontab:

0 0,12 * * * certbot renew --quiet >> /var/log/certbot-renew.log 2>&1

I also notice:

systemctl list-timers
Fri 2024-04-26 03:43:03 UTC 52min left        Thu 2024-04-25 12:42:53 UTC 14h ago      certbot.timer                  certbot.service

shall I remove the crontab as the renew timer already in the systemctl list-timers ?

I am. not sure which one was created with

certbot certonly \
  --dns-cloudflare \
  --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini \
  --dns-cloudflare-propagation-seconds 60 \
  -d example.com

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.