My ISP has now interrupted my internet one too many times. Even though the Internet is only away for like 3 minutes, I always need to log into cloudflare and update two dns entries to my newly assigned ips. Having to do this up to 3 times per week now was getting tiring enough for me to automate it.
I already had automated that some time before, but the DDClient setup was tiresome to figure out and I didn’t know what specific version I used when I changed the OS of my Pi 4.
So I wanted to do it all by myself. A mix between interaction with my fritzbox for my ipv4, running some commands for my ipv6 (was just faster to figure out) and some interaction with the CloudFlare API and voilà: Here it is.