Skip to content

With this simple script you can automatically update your router's IP for all/some zones on your Cloudflare account.

License

Notifications You must be signed in to change notification settings

TamirSlo/Automatic-Cloudflare-DNS-Record-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automatic-Cloudflare-DNS-Record-Updater

With this simple script you can automatically update your router's IP for all/some zones on your Cloudflare account. Simply copy the "DNSUpdater" folder onto your linux based computer and make sure the config file is edited appropriatley! Then add a cron job with a link to the '..path..'\DNSUpdater\main.sh and execute it automatically. The script will check for any changes to your IP address and will notify you by email or with our soon to be cPanel-like domain manager service for ARM based computers!

How to install?

  1. Simply downlaod the files and make sure to change the Path variable at the start of main.sh
  2. Ensure the Logs folder is created as 'logs' (Manual Process) as shown in the file structure.
  3. Write down your Cloudflare EMail and API Key inside cloudflare.sh
  4. Add a cron job:
  • In shell type in the following command: crontab -e
  • Then add the following line: */15 * * * * bash /home/pi/DNSUpdater/main.sh and the script will be executed every 15 minutes.
  • Make sure you change the path in the above line to fit your case.

Any feedback will be appreciated using the Contact Form within my Website

About

With this simple script you can automatically update your router's IP for all/some zones on your Cloudflare account.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages