Como o Google ignora o roteamento IP?

6

Na página Benefícios de desempenho do DNS público do Google , eles reivindicam

In Google Public DNS, we have implemented several approaches to speeding up DNS lookup times. Some of these approaches are fairly standard; others are experimental:

  • Providing global coverage for proximity to all users.

Mas se nós geo-localizarmos seus endereços IP 8.8.8.8 and 8.8.4.4 vemos que eles são servidos em Mountain View.

Medindo sua latência no Brasil, descobri que

  • O DNS do meu ISP responde em 13 ms
  • O DNS do Google responde em 20 ms
  • O OpenDNS em São Francisco responde em média em 130 ms

Como isso é possível? Como eles podem responder a partir de servidores no Brasil se o esquema de roteamento IP leva à Califórnia?

    
por Jader Dias 07.02.2012 / 15:51

1 resposta

7

Os endereços são apenas de propriedade de uma empresa (Google Inc.) localizada em Mountain View, de acordo com Informação WHOIS da ARIN. Mas eles são servidos em qualquer local onde o Google decida anunciar uma rota para esse intervalo.

Para seus servidores DNS, o Google está usando anycast , e os mesmos endereços podem, de fato, ser roteados para vários locais diferentes :

On the Internet, anycast is usually implemented by using BGP to simultaneously announce the same destination IP address range from many different places on the Internet

Esta é a entrada do BGP para essa rota:

BGP routing table entry for 8.8.8.0/24, version 50533132
Paths: (18 available, best #12, table Default-IP-Routing-Table)
  Not advertised to any peer
  7018 15169, (received & used)
    12.123.137.124 from 12.123.137.124 (12.123.137.124)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:37232
  7018 15169, (received & used)
    12.123.139.124 from 12.123.139.124 (12.123.139.124)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:34011
  7018 15169, (received & used)
    12.123.145.124 from 12.123.145.124 (12.123.145.124)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:33051
  7018 15169, (received & used)
    12.123.21.243 from 12.123.21.243 (12.123.21.243)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:39343
  7018 15169, (received & used)
    12.123.13.241 from 12.123.13.241 (12.123.13.241)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:32112
  7018 15169, (received & used)
    12.123.9.241 from 12.123.9.241 (12.123.9.241)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:38001
  7018 15169, (received & used)
    12.123.133.124 from 12.123.133.124 (12.123.133.124)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:36244
  7018 15169, (received & used)
    12.123.5.240 from 12.123.5.240 (12.123.5.240)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:34011
  7018 15169, (received & used)
    12.123.134.124 from 12.123.134.124 (12.123.134.124)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:36244
  7018 15169, (received & used)
    12.123.142.124 from 12.123.142.124 (12.123.142.124)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:33051
  7018 15169, (received & used)
    12.123.17.244 from 12.123.17.244 (12.123.17.244)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:36244
  7018 15169, (received & used)
    12.123.1.236 from 12.123.1.236 (12.123.1.236)
      Origin IGP, localpref 100, valid, external, best
      Community: 7018:2500 7018:37232
  7018 15169, (received & used)
    12.123.37.250 from 12.123.37.250 (12.123.37.250)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:36244
  7018 15169, (received & used)
    12.123.45.252 from 12.123.45.252 (12.123.45.252)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:32112
  7018 15169, (received & used)
    12.123.33.249 from 12.123.33.249 (12.123.33.249)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:39220
  7018 15169, (received & used)
    12.123.25.245 from 12.123.25.245 (12.123.25.245)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:34011
  7018 15169, (received & used)
    12.123.41.250 from 12.123.41.250 (12.123.41.250)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:37232
  7018 15169, (received & used)
    12.123.29.249 from 12.123.29.249 (12.123.29.249)
      Origin IGP, localpref 100, valid, external
      Community: 7018:2500 7018:33051
    
por 07.02.2012 / 16:01