V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
tywtyw2002
V2EX  ›  问与答

谁知道有什么比较好的方式去获得 asn 对应的名字?

  •  
  •   tywtyw2002 · Nov 25, 2014 · 2910 views
    This topic created in 4185 days ago, the information mentioned may be changed or developed.
    直接whois去查的话,可以保证90%左右的正确率,但是也难有一些奇拔的东西。。。。。。

    比如whois AS4134
    % Information related to 'AS4134'

    aut-num: AS4134
    as-name: CHINANET-BACKBONE
    descr: No.31,Jin-rong Street
    descr: Beijing
    descr: 100032
    country: CN
    remarks: for backbone of chinanet
    admin-c: CH93-AP
    tech-c: CH93-AP
    mnt-by: MAINT-CHINANET
    mnt-routes: MAINT-CHINANET
    changed: [email protected] 20030113
    changed: [email protected] 20041221
    changed: [email protected] 20060601
    source: APNIC


    你妹呀,descr谁让你写地址呀,有文化吗?

    He 是个好东西,记得以前统计asn的时候在下过全asn的记录。

    于是写了一个python脚本,在30多台lab机器上同步去下bgp.he.net/ASxxxx 的网页,结果下了大概3000个as,he把我们学校的b段给封了。。。。。。
    结果都是<div id='resourceerror' class='tabdata'>
    You have reached your query limit on bgp.he.net. If you feel this is in error or would like commercial API access please <a href='http://bgp.he.net/contact/'>contact us</a>.


    我记得我2010年用bash + wget下全bgp.he.net的所有记录的时候还没事呢?

    所以现在哪里有优化过的asn name map呢?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6182 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:41 · PVG 10:41 · LAX 19:41 · JFK 22:41
    ♥ Do have faith in what you're doing.