Skip to content

Instantly share code, notes, and snippets.

@x29a
x29a / update.sh
Created January 7, 2017 20:41
SPDYN/SPDNS update via bash
#!/bin/bash
# registered domains. might be the same for v4 and v6
DOMAINV4=foobar.my-router.de
DOMAINV6=${DOMAINV4}
# generated token for each domain
TOKENV4=abcd-abcd-abcd
TOKENV6=abcd-abcd-abcd