Forum Moderators: open
The thing that occurs to me is if systems round the world started ignoring TTL and just using the same IP address for months Google would be in trouble (I believe a low TTL on www.google.com is key to their load balancing?).
Shouldn't they really do what they expect everyone else to do and respect the DNS standard by rechecking entries once they expire?
Sorry if this has been raised before. I know it's not just Google who do it.
Cheers,
Nigel
What you may be experiencing is what I am experiencing on a monthly basis - because I am on dynamic IPs.
I don't seems to face problem with google at all. They normal revisit my site within 2 days, especially since 2003. The other one I don't have problem is Inktomi - Slurp. These 2 search engines update their DNS faster than my ISP.
Fast is quite "Slow" on their DNS update. Altavista Scooter - don't even know how often they update.
kwngian
In theory they definitely should. However, many DNS admins set inappropriately short TTLs, and Google does a lot of DNS lookups :) In the real world what they do seems inevitable, but it would be nice if they had a mechanism by which webmasters could inform them of an IP address change.
Gee, I would have expected that Google would look to your DNS server to resolve, not look to their DNS server. Not so?
Google (presumably) uses DNS just like your computer & mine do. When I go to google.com in my web browser, Windows first checks if my machine already knows Google's IP address. If not, my computer asks its DNS server -- run by my ISP. If that doesn't know, it asks a root server for the IP of a .com DNS server. It then asks the .com server for the IP of google.com. Eventually, my computer gets the answer back.
But each DNS server along the way caches the results of its lookups. It makes no sense for my DNS server to ask a root server every time I or anyone else using it hit Google.com.
Whoever controls a site's DNS entries sets a Time To Live (TTL) value that tells other DNS servers how long they are supposed to cache the answers. After that time expires, they are supposed to come ask again in case the information has changed.
Two problems exist with the system. As was mentioned earlier, some DNS servers specify a very short TTL -- say 5 minutes. It's crazy to think that the cache should expire every 5 minutes. Honoring that TTL results in extra network traffic. So some DNS servers decide not to honor the TTL. They will expire the cache when they so please. Google apparently does this as does AOL.
A better solution to the first problem is for DNS operators to set a lower minimum on the TTL's they will honor ... say, 1 day.
But, consider that once you are at Google's web page, when you click on any website listed, you are hitting not Google's DNS server to resolve names, but rather the DNS server for the site you are accessing (assuming you haven't already got it cached).
As to whether Google is even using it's publicly listed name servers when it does it's thing, who's to say (somebody on the inside) Consider that they might not in deference to their customers. And how long they cache for--not certain. I maintain a small number of sites that we occasionally move from one server to another, and I have seen no evidence that they are exceeding my TTLs.
I have found that in a fair number of these cases, the real problem is right on your local machine... cached.
Assuming your running some flavor of Windows, this can often be overcome by typing at the command prompt:
ipconfig /flushdns
Hope this helps.