This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| """ddns update script using Cloudflare SDK for DNS load balancing. | |
| Configure credentials and create a /etc/cron.d/update_ip file like | |
| */10 * * * * root CLOUDFLARE_API_TOKEN=token ./opt/update_ip.py zone_id comment | |
| """ | |
| from sys import argv | |
| from urllib.request import urlopen |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.