首页 运维 网络学院 查看内容

linux shell查看当前外网IP

2015-9-30 17:31 6897 0

摘要: 满足了一下自己的搜集癖,搜集了不少可以用来查询外网IP的网址和方法。?12345678910111213141516171819202122232425262728293031323334#国内某网站的接口,只返回IPcurl ip.6655.com/ip.aspxcurl whatismyip.akamai. ...
关键词: important nbsp com 0px ident curl ifconfig auto opendns height

满足了一下自己的搜集癖,搜集了不少可以用来查询外网IP的网址和方法。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#国内某网站的接口,只返回IP
curl ip.6655.com/ip.aspx
curl whatismyip.akamai.com
#更多用法访问ifconfig.co
wget -qO - ifconfig.co
  
curl icanhazip.com
dig +short myip.opendns.com @resolver1.opendns.com
  
curl ident.me
curl v4.ident.me
curl v6.ident.me
#慢
curl curlmyip.com
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人
1

握手

鲜花

鸡蛋

刚表态过的朋友 (1 人)

  • 握手

    匿名

最新评论