summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-09-24 13:03:53 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-09-24 13:03:53 -0400
commit405ac10b60ea5ae0570c519744fef7c41a1b1c87 (patch)
tree4e1710bdd93d0789aeaa4628f65c2954220eef7b /tools
parenteb6eae78554239e87d4af0f3f53c5175dc226290 (diff)
Upgrade
Diffstat (limited to 'tools')
-rwxr-xr-xtools/update-dns.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/update-dns.sh b/tools/update-dns.sh
index fa3f4e5..a08ac26 100755
--- a/tools/update-dns.sh
+++ b/tools/update-dns.sh
@@ -22,7 +22,8 @@ ip_4="$(ip -br -4 addr list dev ${INTERFACE} | awk -F' *|/' '{print $3}')"
if [[ -n "$ip_4" ]]; then
update A $(hostname).dynamic.orbekk.com $ip_4
fi
-ip_6="$(ip -br -6 addr list scope global dev ${INTERFACE} | awk -F' *|/' '{print $3}')"
+ip_6="2001:470:8e2e:20::d"
+#ip_6="$(ip -br -6 addr list scope global dev ${INTERFACE} | awk -F' *|/' '{print $3}')"
if [[ -n "$ip_6" ]]; then
update AAAA $(hostname).dynamic.orbekk.com $ip_6
fi