You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some ISP may provide dynamic IP, which may vary when modem is switched on and off. Running the scirpt at a certain time interval may help you maintain the correct DNS record.
The script uses the public ip of the computer get on ipify to update the ip address.
Usage
Configure your data in config.py
ZONE_ID: You can find your zone id on Overview tab in Cloudflare.
X_AUTH_KEY: You can find the authkey in My Settings -> API Key -> Global API Key
X_AUTH_EMAIL: Your Cloudflare login email
wanted_type: Condition of filtering, leaving wanted DNS record type only.
wanted_name: Same as above, but "name" column this time.
Run cloudflare_dns_update.py, the script will process shits for you.
Run cloudflare_dns_update.py at any time you want, or running main() from cloudflare_dns_update.py