If launched with python cloudflare-ddns.py --repeat and the TTL is set to 1 (auto), then the process will loop every 1 second instead of 300 seconds, which is what auto actually means in Cloudflare.
This change adds a variable separate from ttl, which is used for the looping behaviour of the program. I have also reduced some repetition of code.
If launched with
python cloudflare-ddns.py --repeat
and the TTL is set to 1 (auto), then the process will loop every 1 second instead of 300 seconds, which is what auto actually means in Cloudflare.This change adds a variable separate from
ttl
, which is used for the looping behaviour of the program. I have also reduced some repetition of code.