使用whois命令查询AS号的出口IP归属
Tip: whois 是通过 jwhois-4.0-19.el6.x86_64 提供的
[root@h101 ~]# which whois
/usr/bin/whois
[root@h101 ~]# rpm -qf /usr/bin/whois
jwhois-4.0-19.el6.x86_64
[root@h101 ~]#
直接加IP进行查询
[root@h101 ~]# whois 103.21.118.104
[Querying whois.arin.net]
[Redirected to whois.apnic.net]
[Querying whois.apnic.net]
[whois.apnic.net]
% [whois.apnic.net]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
% Information related to '103.21.116.0 - 103.21.119.255'
inetnum: 103.21.116.0 - 103.21.119.255
netname: ANCHNET
descr: ShangHai AnchNet Tec, Inc
descr: 2F,Building 4,N0.1 West Hulan Road,ShangHai,PRC
country: CN
admin-c: XC1415-AP
tech-c: XC1415-AP
mnt-by: MAINT-CNNIC-AP
mnt-irt: IRT-CNNIC-CN
mnt-routes: MAINT-CNNIC-AP
status: ALLOCATED PORTABLE
changed: hm-changed@apnic.net 20120926
source: APNIC
irt: IRT-CNNIC-CN
address: Beijing, China
e-mail: ipas@cnnic.cn
abuse-mailbox: ipas@cnnic.cn
admin-c: IP50-AP
tech-c: IP50-AP
auth: # Filtered
remarks: Please note that CNNIC is not an ISP and is not
remarks: empowered to investigate complaints of network abuse.
remarks: Please contact the tech-c or admin-c of the network.
mnt-by: MAINT-CNNIC-AP
changed: ipas@cnnic.cn 20110428
source: APNIC
person: Xiaozhong Cheng
address: 2F,Building 4,N0.1 West Hulan Road,ShangHai,PRC
country: CN
phone: +86-21-60832266-6603
e-mail: x.z.cheng@anchnet.com
nic-hdl: XC1415-AP
mnt-by: MAINT-CNNIC-AP
changed: ipas@cnnic.cn 20120306
source: APNIC
% This query was served by the APNIC Whois Service version 1.69.1-APNICv1r6 (WHOIS1)
[root@h101 ~]#
从结果信息得知 103.21.116.0 - 103.21.119.255 段的ip 都属于ANCHNET 安畅网络公司
inetnum: 103.21.116.0 - 103.21.119.255
netname: ANCHNET
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。