首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Coding
V2EX  ›  DNS

Feature Req:支持google相关域名的ipv6解析

  •  
  •   yegle · 2010-12-07 23:19:58 +08:00 · 5122 次点击
    这是一个创建于 3291 天前的主题,其中的信息可能已经有所发展或是发生改变。
    forward相关域名到2001:470:20::2即可

    $ dig @2001:470:20::2 docs.google.com AAAA

    ; <<>> DiG 9.7.1 <<>> @2001:470:20::2 docs.google.com AAAA
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23954
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;docs.google.com. IN AAAA

    ;; ANSWER SECTION:
    docs.google.com. 66510 IN CNAME writely.l.google.com.
    writely.l.google.com. 100 IN AAAA 2001:4860:8011::64

    ;; Query time: 307 msec
    ;; SERVER: 2001:470:20::2#53(2001:470:20::2)
    ;; WHEN: Tue Dec 7 23:17:57 2010
    ;; MSG SIZE rcvd: 85
    2 回复  |  直到 1970-01-01 08:00:00 +08:00
        1
    Livid   V2EX Moderator   2010-12-07 23:39:52 +08:00
    V2EX DNS 目前已经支持 IPV6 解析的。

    $ dig @dns.v2ex.com docs.google.com AAAA

    ; <<>> DiG 9.6.0-APPLE-P2 <<>> @dns.v2ex.com docs.google.com AAAA
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37746
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;docs.google.com. IN AAAA

    ;; ANSWER SECTION:
    docs.google.com. 4294753465 IN CNAME writely.l.google.com.

    ;; AUTHORITY SECTION:
    l.google.com. 4294705380 IN SOA ns2.google.com. dns-admin.google.com. 1434970 900 900 1800 60

    ;; Query time: 441 msec
    ;; SERVER: 178.79.131.110#53(178.79.131.110)
    ;; WHEN: Tue Dec 7 23:38:08 2010
    ;; MSG SIZE rcvd: 107
        2
    yegle   2010-12-08 00:24:17 +08:00
    @Livid

    docs.google.com IN CNAME writely.l.google.com

    $ dig @dns.v2ex.com writely.l.google.com AAAA

    ; <<>> DiG 9.7.1 <<>> @dns.v2ex.com writely.l.google.com AAAA
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37571
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;writely.l.google.com. IN AAAA

    ;; Query time: 347 msec
    ;; SERVER: 178.79.131.110#53(178.79.131.110)
    ;; WHEN: Wed Dec 8 00:22:26 2010
    ;; MSG SIZE rcvd: 38



    另外forward到tserv20.hkg1.ipv6.he.net可能更好,返回的地址是google在香港的服务器

    $ dig @tserv20.hkg1.ipv6.he.net www.google.com AAAA

    ; <<>> DiG 9.7.1 <<>> @tserv20.hkg1.ipv6.he.net www.google.com AAAA
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 467
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;www.google.com. IN AAAA

    ;; ANSWER SECTION:
    www.google.com. 28898 IN CNAME www.l.google.com.
    www.l.google.com. 22 IN AAAA 2404:6800:8005::63

    ;; Query time: 1607 msec
    ;; SERVER: 216.218.221.6#53(216.218.221.6)
    ;; WHEN: Wed Dec 8 00:19:27 2010
    ;; MSG SIZE rcvd: 80
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   3007 人在线   最高记录 5043   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.3 · 21ms · UTC 10:52 · PVG 18:52 · LAX 02:52 · JFK 05:52
    ♥ Do have faith in what you're doing.