From 30c3d70c02861c78d156a4e7238368761c45f62f Mon Sep 17 00:00:00 2001 From: Jake Charman Date: Mon, 25 May 2020 17:03:17 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc11a50..7ef1e17 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,12 @@ Python script to update Cloudflare DNS records when a server's IP address change Get the script and make it executable: git clone https://github.com/jcharman/Cloudflare-Updater + cd Cloudflare-Updater chmod +x ./updateCloudflare.py +Install the required modules + + pip3 install -r requirements.txt + Copy the example config file into place: cp ./updateCloudflare.conf.example updateCloudflare.conf @@ -18,4 +23,4 @@ Run the script: ## Usage This script is designed to be run by cron periodically. On each run it will get the server's current IP, check it against the IP last time the script ran and update Cloudflare if necessary. If the script has not been run before it will get the current IP address from Cloudflare. -NOTE: This script WILL NOT detect manual changes to cloudflare and will only update the IP when it detects that the server's IP address has changed. To force the script to check the current IP in Cloudflare, delete the updateCloudflare.lastip file. \ No newline at end of file +NOTE: This script WILL NOT detect manual changes to cloudflare and will only update the IP when it detects that the server's IP address has changed. To force the script to check the current IP in Cloudflare, delete the updateCloudflare.lastip file.