- Download script: wget https://raw.githubusercontent.com/dantavares/dynv6/main/dynv6.sh
- Set script as executable: sudo chmod +x dynv6.sh
- Edit the script, give a hostname and token
- Execute script, test and check
- Create a cron job. Example script on /opt and check every hour: sudo crontab -e 0 * * * * /opt/dynv6.sh &>/dev/null 2>&1
Also, you can put a link to script on dhclient-exit-hooks.d: sudo ln -s /opt/dynv6.sh /etc/dhcp/dhclient-exit-hooks.d/dynv6.sh
Done!