fixed public-ip for v4

This commit is contained in:
2021-07-22 12:15:13 +00:00
parent 4af308fdd5
commit 016c110ac2
+4 -1
View File
@@ -1,4 +1,7 @@
#!/bin/bash
dig +short A myip.opendns.com @resolver1.opendns.com
# does not always work, when you have an IPv6 connection
#dig +short A myip.opendns.com @resolver1.opendns.com
curl https://ipinfo.io/ip