diff --git a/update-dns.sh b/update-dns.sh new file mode 100644 index 0000000..884bf57 --- /dev/null +++ b/update-dns.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +set -eux + +ip=$(wget https://checkip.amazonaws.com/ -O - -q) + +zone_id=$(aws route53 list-hosted-zones | jq -S '.HostedZones | .[] | select( .Name == "maxregan.me." ) | .Id' -r) + +batch=$(cat <