推荐使用
自建
文本
- https://myip.dnsomatic.com
- https://api.ipify.org
- https://icanhazip.com
- https://ipecho.net/plain
- http://whatismyip.akamai.com (HTTPS证书异常)
- http://members.3322.org/dyndns/getip (HTTPS证书异常)
JSON
- https://myip.ipip.net/json
- https://api.myip.com
- https://api.ipify.org?format=json
- https://httpbin.org/ip
- http://ip.taobao.com/service/getIpInfo2.php?ip=myip
使用DNS
- dig +short myip.opendns.com @resolver1.opendns.com