.SilverFox//Diary―“unlimited blog works”

ダイアリーを継ぐもの

TCP/IPを高速化、「Google Public DNS」を設定してみた

GIGAZINさんの記事を参考に、DNSの設定をしてみました。

Googleが先日の「Google 日本語入力」に続いて今度は無料で使えるパブリックDNSサービス「Google Public DNS」を出してきました。DNSのアドレスは「8.8.8.8」「8.8.4.4」というなかなか縁起の良い末広がりの数字を山ほど突っ込んでおり、覚えやすくなっています。

Googleによると、このDNSを自分のパソコンに設定することでページを表示するまでの速度が上昇し、セキュリティもアップするとしています。

DNSを「Google Public DNS」のサイトにて指定している、

  • 8.8.8.8
  • 8.8.4.4

に設定をすると、ページを表示するまでの速度が上がるのだとか。
クライアントごとに設定するのが面倒なので、ルータのDNSに設定した。

Google Public DNS」に対してPingを打ってみる
>ping 8.8.8.8
Pinging 8.8.8.8 with 32 bytes of data:

Reply from 8.8.8.8: bytes=32 time=41ms TTL=243
Reply from 8.8.8.8: bytes=32 time=42ms TTL=243
Reply from 8.8.8.8: bytes=32 time=43ms TTL=243
Reply from 8.8.8.8: bytes=32 time=39ms TTL=243

Ping statistics for 8.8.8.8:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 39ms, Maximum = 43ms, Average = 41ms


>ping 8.8.4.4
Pinging 8.8.4.4 [8.8.4.4] with 32 bytes of data:

Reply from 8.8.4.4: bytes=32 time=44ms TTL=243
Reply from 8.8.4.4: bytes=32 time=40ms TTL=243
Reply from 8.8.4.4: bytes=32 time=40ms TTL=243
Reply from 8.8.4.4: bytes=32 time=42ms TTL=243

Ping statistics for 8.8.4.4:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 40ms, Maximum = 44ms, Average = 41ms

>nslookup 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Name:    google-public-dns-a.google.com
Address:  8.8.8.8


>nslookup 8.8.4.4
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Name:    google-public-dns-b.google.com
Address:  8.8.4.4


>nslookup -querytype=ANY -timeout=5 d.hatena.ne.jp 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
d.hatena.ne.jp  MX preference = 10, mail exchanger = mail.hatena.ne.jp
d.hatena.ne.jp  internet address = 59.106.108.77

>nslookup -querytype=ANY -timeout=5 google.ne.jp 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
google.ne.jp    MX preference = 10, mail exchanger = google.com.s9a2.psmtp.com
google.ne.jp    internet address = 74.125.95.104
google.ne.jp    nameserver = ns2.google.com
google.ne.jp    internet address = 74.125.91.104
google.ne.jp    nameserver = ns4.google.com
google.ne.jp    MX preference = 10, mail exchanger = google.com.s9a1.psmtp.com
google.ne.jp    MX preference = 10, mail exchanger = google.com.s9b1.psmtp.com
google.ne.jp    nameserver = ns3.google.com
google.ne.jp    internet address = 72.14.203.104
google.ne.jp    MX preference = 10, mail exchanger = google.com.s9b2.psmtp.com
google.ne.jp    nameserver = ns1.google.com
google.ne.jp
        primary name server = ns1.google.com
        responsible mail addr = dns-admin.google.com
        serial  = 1400306
        refresh = 21600 (6 hours)
        retry   = 3600 (1 hour)
        expire  = 1209600 (14 days)
        default TTL = 300 (5 mins)

>nslookup -querytype=ANY -timeout=5 google.com 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
google.com      internet address = 74.125.53.100
google.com      nameserver = ns2.google.com
google.com      nameserver = ns1.google.com
google.com      MX preference = 10, mail exchanger = google.com.s9b1.psmtp.com
google.com      MX preference = 10, mail exchanger = google.com.s9a2.psmtp.com
google.com      nameserver = ns4.google.com
google.com
        primary name server = ns1.google.com
        responsible mail addr = dns-admin.google.com
        serial  = 1400306
        refresh = 7200 (2 hours)
        retry   = 1800 (30 mins)
        expire  = 1209600 (14 days)
        default TTL = 300 (5 mins)
google.com      internet address = 74.125.67.100
google.com      nameserver = ns3.google.com
google.com      MX preference = 10, mail exchanger = google.com.s9a1.psmtp.com
google.com      text =

        "v=spf1 include:_netblocks.google.com ip4:216.73.93.70/31 ip4:216.73.93.72/31 ~all"
google.com      internet address = 74.125.45.100
google.com      MX preference = 10, mail exchanger = google.com.s9b2.psmtp.com

>nslookup -querytype=ANY -timeout=5 yahoo.co.jp 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
yahoo.co.jp     MX preference = 10, mail exchanger = mx1.mail.yahoo.co.jp
yahoo.co.jp     MX preference = 10, mail exchanger = mx2.mail.yahoo.co.jp
yahoo.co.jp     MX preference = 10, mail exchanger = mx3.mail.yahoo.co.jp
yahoo.co.jp     MX preference = 10, mail exchanger = mx5.mail.yahoo.co.jp
yahoo.co.jp     nameserver = dnsg01.yahoo.co.jp
yahoo.co.jp     nameserver = ns04.ops.ogk.yahoo.co.jp
yahoo.co.jp     text =

        "v=spf1 include:spf.yahoo.co.jp ~all"
yahoo.co.jp     internet address = 124.83.139.192
yahoo.co.jp     internet address = 203.216.227.176
yahoo.co.jp
        primary name server = yahoo.co.jp
        responsible mail addr = postmaster.yahoo.co.jp
        serial  = 2009120805
        refresh = 1800 (30 mins)
        retry   = 900 (15 mins)
        expire  = 86400 (1 day)
        default TTL = 900 (15 mins)

体感的にですが、Googleなどのサイトなどが速くなった気がします。
しばらくは、これで様子見してみるつもりです。