@Alex-Zhao
2020-06-15T07:57:44.000000Z
字数 1384
阅读 167
运维工具
[root@tech-zhaoliang-01 ~]# curl cip.ccIP : 180.167.11.51地址 : 中国 上海运营商 : 电信数据二 : 上海市 | 电信数据三 : 中国上海上海市 | 电信URL : http://www.cip.cc/180.167.11.51
查询其他IP curl cip.cc/185.49.85.150
IP : 185.49.85.150地址 : 伊朗 伊朗数据二 : 欧洲数据三 : 伊朗URL : http://www.cip.cc/185.49.85.150
[root@tech-zhaoliang-01 ~]# curl myip.ipip.net当前 IP:180.167.11.51 来自于:中国 上海 上海 电信
[root@tech-zhaoliang-01 ~]# curl api.ip.la103.206.190.142[root@tech-zhaoliang-01 ~]# curl -s api.ip.la/cn?json{"ip":"103.206.190.142","location":{"city":"","country_code":"HK","country_name":"中国","latitude":"22.396428","longitude":"114.109497","province":"香港"}}
[root@tech-zhaoliang-01 ~]# curl ipinfo.io{"ip": "103.206.190.142","city": "Wan Chai","region": "Wan Chai","country": "HK","loc": "22.2814,114.1726","org": "AS136993 CLOUD VALLEY TECHNOLOGY LIMITED","timezone": "Asia/Hong_Kong","readme": "https://ipinfo.io/missingauth"}
查询其他IP
[root@tech-zhaoliang-01 ~]# curl ipinfo.io/185.49.85.150{"ip": "185.49.85.150","hostname": "hosted-by.hostdl.com.asiatech.ir","city": "Tehran","region": "Tehrān","country": "IR","loc": "35.6944,51.4215","org": "AS43754 Asiatech Data Transmission company","timezone": "Asia/Tehran","readme": "https://ipinfo.io/missingauth"}
[root@tech-zhaoliang-01 ~]# curl ifconfig.io103.206.190.142
[root@tech-zhaoliang-01 ~]# curl httpbin.org/ip{"origin": "103.206.190.142, 103.206.190.142"}