7a6637d86951fadfb45e46f86c9cb307290ad6a1
debuntu-toolkit
Miscellaneous scripts for system admin
cfddnsv6
This script updates CloudFlare IPv6 DNS records with your current IP address, as pulled from the interface directly. Best use case is having an ISP who arbitrarily changes your prefix. For safety, we do not create records, we only update records that match the hostname in the zone, so you must log in to CloudFlare and create your records first! Right now we run this from cron--- at reboot and every so often after. This example runs it at reboot and every half hour, adjust to taste.
@reboot /usr/local/bin/cfddnsv6.sh >/dev/null 2>&1
*/30 * * * * /usr/local/bin/cfddnsv6.sh >/dev/null 2>&1
Description
Languages
Shell
100%