写脚本时,我们经常需要查询外网IP,记录一下. --by jonnyan404
ipip.ooo
用法
- jonnyan404 https://mrdoc.fun
$ curl ipip.ooo
$ curl ipip.ooo/country
$ curl -L ipip.ooo/dns
$ curl -L ipip.ooo/dnscountry
cip.cc
用法
- jonnyan404 https://mrdoc.fun
# 命令行查询(详细):
## UNIX/Linux:
curl cip.cc
## Windows:
telnet cip.cc
ftp cip.cc
## 命令行查询(纯ip):
### UNIX/Linux:
curl ip.cip.cc