Skip to content

yinguanhao/acme-dns-hook-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DNS verification hook for acmetool using cloudflare API.

Usage

Download dns.hook to your server. Install dependencies: python 3, requests. You also need the dig program. On debian based systems it is available in the dnsutils package.

Allow only yourself to read/write/execute it:

$ chmod 700 dns.hook

Edit dns.hook, set EMAIL and KEY.

Test run:

$ ./dns.hook test [sub.yourdomain.tld]

The script will try to create a TXT record _acme-challenge.[sub.yourdomain.tld], verify it, and delete it.

If it works, copy/move to acmetool hooks dir (e.g. /usr/lib/acme/hooks/):

$ sudo mv dns.hook /usr/lib/acme/hooks/

About

DNS verification hook for acmetool using cloudflare API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages