Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Adapted appropriately to support latest changes and added a guide to install
  • Loading branch information
TamirSlo authored Apr 30, 2019
1 parent 917056e commit 6c9473d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@
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](https://tamirslodev.tk/)**_

0 comments on commit 6c9473d

Please sign in to comment.