下面的直接可以用curl查询:
curl ifconfig.me curl ifconfig.io curl icanhazip.com curl ipinfo.io/ip curl ipecho.net/plain curl www.trackip.net/ip curl ip.sb curl cip.cc curl myip.ipip.net curl ipapi.co/ip curl ip.ddnsto.com/text curl api.ipify.org curl freegeoip.app/json curl whatismyip.akamai.com curl ip.tyk.nu curl l2.io/ip curl ident.me curl wgetip.com curl eth0.me curl checkip.amazonaws.com curl bot.whatismyipaddress.com ------下面几个网页不存在------ curl you-ip.appspot.com curl checkip.dyndns.org
还可以用dig进行查询:
dig +short myip.opendns.com @resolver1.opendns.com dig TXT +short o-o.myaddr.l.google.com @ns1.google.com dig @ns1-1.akamaitech.net ANY whoami.akamai.net +short
对于浏览器查询来说,下面几个都还比较好用:
http://www.ip111.cn/ https://www.ipip.net/ip.html https://ip.cn/ https://www.whatismyip.org/ https://www.iplocation.net/ https://ipinfo.io/ https://ipapi.co/ https://www.ip2location.com/ http://www.findmyip.org/ ------下面几个网页不存在------ https://whoer.net/zh https://duckduckgo.com/?q=ip http://you-ip.appspot.com http://checkip.dyndns.org