diff --git a/4-public-ip.sh b/4-public-ip.sh index 5b9f9ed..33cfce8 100755 --- a/4-public-ip.sh +++ b/4-public-ip.sh @@ -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