๐ Automatically update your DNS records when your IP changes.
Firstly make sure you have Deno and Git installed.
git clone https://github.com/makidoll/cloudflare-ddns.git
cd cloudflare-ddns
cp settings.example.jsonc settings.jsonc
Edit settings.jsonc
. Interval is in minutes.
Highly recommend setting zones to "hotmilk.space": ["hotmilk.space"]
then targeting all your subdomains to @
You can find your Cloudflare API key here: https://dash.cloudflare.com/profile/api-tokens (Global API Key)
Run deno run -A main.ts
indefinitely or use a process manager like pm2
.
npm install pm2 -g
pm2 start ecosystem.config.js
pm2 ls