V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
xzl380
V2EX  ›  分享创造

whoami.fangpeishi.com

  •  
  •   xzl380 · 2017 年 8 月 31 日 · 1909 次点击
    这是一个创建于 3060 天前的主题,其中的信息可能已经有所发展或是发生改变。

    基于 OpenResty 的 whoami.akaimai.net 实现

    代码:whoami.lua

    dig whoami.fangpeishi.com
    

    获取 local dns 的出口 ip。

    1 条回复    2017-08-31 13:34:25 +08:00
    terrawu
        1
    terrawu  
       2017 年 8 月 31 日
    赞一个,不过最好给 opendns 的 credit

    dig +short myip.opendns.com @resolver1.opendns.com
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5214 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 08:37 · PVG 16:37 · LAX 00:37 · JFK 03:37
    ♥ Do have faith in what you're doing.