Name | Modified | Size | Downloads / Week |
---|---|---|---|
readme.txt | 2020-09-12 | 2.9 kB | |
GODADDY_Update_IP(Sept-02-2020).7z | 2020-09-02 | 3.2 kB | |
GodaddyIP update [March-26-2019].7z | 2019-03-26 | 2.3 kB | |
Totals: 3 Items | 8.4 kB | 0 |
Godaddy DNS IP update. Version: September-02-2020 Created by Reaz Baksh Web site: https://sourceforge.net/projects/godaddy-dns-ip ############################################################################## ###NOTE: Make sure none of the files created here are within the web root.### ############################################################################## This Update_IP consists of two scripts, run_first.py and update_ip.py. Between the two, the purpose is to automatically update the GoDaddy DNS ip of all your domains that are hosted using 1 (one) ip address To start first make sure that the python you are using is between version 3.5.3 and 3.8.0 as it was tested using both. run_first.py Run the ‘run_first.py’ script to setup the other files to make the other script work. #python3 ./run_first.py This script will create 3 files: godaddykey.json this file holds the domain name and the two associated keys ip.txt this file holds the public IP address of your web server logfile.log this is the log file. It will log all the information that takes place. All 3 files will be created within the same folder as the two original files. During setup the following questions will be asked: -Python modules that are needed will be checked. If not installed they will have to be manually installed using PIP3 -Continue with setting up IP file? Y/N: this sets up the ip file that holds the current public ip address of your web server -Continue with setting up JSON file? Y/N: this sets up the JSON file that holds the Godaddy keys to your domain -How many domains need updating with the same IP? this asks how many domains that resolve to the same ip that is hosted on your server. Minimum 1. -Enter domain name: enter the name of the domain such as. dhantal.com or broadcasttech.net. -Enter domain key: the key for the domain. This can be got from GoDaddy. - Enter domain secret: the secret for the domain. This can be got from GoDaddy. -Continue with setting up of log file? Y/N: creating the logfile. Once ‘run_first.py’ is complete the 3 extra files will be created. Update_ip.py This file is now ready to be run. Normally it is run under cron every 5 minutes using the following: */5 * * * * python3 <PATH TO>update_ip.py How it works: The IP located in the ip.txt file is set once the run_first.py script is run. Here it will add the current public IP of your server. Once done, the Update_IP script, when run, will check the public IP of your server and compair it to the IP within the ip.txt file. If different it will then update the GoDaddy DNS for each domain you have configured. It will also write the IP to the ip.txt file for the next time. Support and suggestions: Fill out the SourceForge ticket system. I will answer as best as I can. Thanks