3 ms·
That will return an IPv6 address, if you have IPv6 connectivity. That's normally be fine, but for occasions it isn't there is dig +short -4 myip.opendns.co
by moreati 5y ago
That will return an IPv6 address, if you have IPv6 connectivity. That's normally be fine, but for occasions it isn't there is
dig +short -4 myip.opendns.com a @resolver1.opendns.com