Skip to content

Instantly share code, notes, and snippets.

@dmtucker
dmtucker / dynv6-update-host.bash
Last active August 4, 2024 23:12 — forked from corny/dynv6.sh
Update script for dynv6.com to set your IPv6 address
#!/usr/bin/env bash
update_via_http () {
if [ -z "${token+undefined}" ] || [ "$#" != 2 ]
then
echo 'usage: token=<your-HTTP-token> update_via_http zone ipv6' 1>&2
exit 1
fi
zone="$1"
ipv6="$2"
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=141323