2 ms·
I get a single A rec for google.com. Pretty sure there should be multiple, no?
by indigodaddy 2y ago
I get a single A rec for google.com. Pretty sure there should be multiple, no?
- deleted 2y ago[deleted]
- ricktdotorg 2y agonot necessarily -- google.com is using anycast. authoritative servers for google.com will return an IP for your request for an A for google.com with an IP that they believe is appropriate for (read: closest to) your geolocation. ssh to a few boxes in different countries and do simultaneous A lookups on google.com and you'll get single results in each case, and each will return different IPs.
- fragmede 2y agoOr use this tool and to check globally: https://www.whatsmydns.net/#A/google.com https://www.whatsmydns.net/#A/google.com Some locations are returning one ip, others are returning multiple, but to your point, they're different in different regions.
- ryandv 2y agoJust to be clear, returning different resource records (IP addresses, A records) in the answer section of a DNS response to different clients, based on geographical location, measured latency, etc, is different from anycast routing in which there exist multiple different routes to multiple different hosts all sharing the same IP address.
- selcuka 2y agodig returns a single IP address (one IPv4 and one IPv6) as well.
- miyuru 2y agoGoogle uses GEODNS, the IP are different for different users. Also at googles scale round robin might cause unexpected issues.