dig o-o.myaddr.l.google.com txt @ns1.google.com +short
# OR
nslookup -type=txt o-o.myaddr.l.google.com ns1.google.com
dig whoami.cloudflare ch txt @1.1.1.1 +short
dig whoami.akamai.net. @ns1-1.akamaitech.net. +short
# OR
nslookup whoami.akamai.net. ns1-1.akamaitech.net
dig whoami.akamai.net. @ns1-1.akamaitech.net. +short
# OR
nslookup whoami.akamai.net. ns1-1.akamaitech.net
curl ipinfo.io
curl ifconfig.co
curl icanhazip.com
curl ifconfig.me
curl checkip.dyndns.org
https://1.1.1.1/cdn-cgi/trace (see https://developers.cloudflare.com/fundamentals/get-started/reference/cdn-cgi-endpoint/)