Skip to content

Instantly share code, notes, and snippets.

View bg6stn's full-sized avatar
💭
I may be slow to respond.

bg6stn

💭
I may be slow to respond.
View GitHub Profile
@bg6stn
bg6stn / dynv6.sh
Created October 5, 2025 11:47 — forked from corny/dynv6.sh
Update script for dynv6.com to set your IPv4 address and IPv6 prefix
#!/bin/sh -e
hostname=$1
device=$2
file=$HOME/.dynv6.addr6
[ -e $file ] && old=`cat $file`
if [ -z "$hostname" -o -z "$token" ]; then
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]"
exit 1
fi