summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-03-12 07:39:14 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-03-12 07:39:14 -0500
commit70745001e605e35a946dea4403aea917e1497c35 (patch)
tree3d9a6776868a88c35fb8da54093ba6f6b318ae40 /tools
parent16b35f4254900ae072ee3deb4d7fbd4a04a6eb27 (diff)
add ipv6 again
Diffstat (limited to 'tools')
-rwxr-xr-xtools/update-dns.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/update-dns.sh b/tools/update-dns.sh
index 4c0160c..97fbb50 100755
--- a/tools/update-dns.sh
+++ b/tools/update-dns.sh
@@ -21,8 +21,7 @@ ip_4="$(ip -br -4 addr list dev eno1 | awk -F' *|/' '{print $3}')"
if [[ -n "$ip_4" ]]; then
update A $(hostname).dynamic.orbekk.com $ip_4
fi
-# IPv6 currently broken on Spectrum :(
-# ip_6="$(ip -br -6 addr list scope global dev eno1 | awk -F' *|/' '{print $3}')"
-# if [[ -n "$ip_6" ]]; then
-# update AAAA $(hostname).dynamic.orbekk.com $ip_6
-# fi
+ip_6="$(ip -br -6 addr list scope global dev eno1 | awk -F' *|/' '{print $3}')"
+if [[ -n "$ip_6" ]]; then
+ update AAAA $(hostname).dynamic.orbekk.com $ip_6
+fi