I just deployed a server with a site that hosts some resources I want to fetch using scripts. If I browse to those resources in Chrome (even ones I have never been to before -- so I don't think it's a cache issue) they come up instantly, but when I fetch them using a script it takes about 5 seconds to connect.
I don't think this has anything to do with my site, I think it's a local configuration problem. I see the same results with google. Browsing to google it comes up instantly, but:
% curl google.com ***5 second delay*** <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> ...
A yet-more perplexing thing given that last behavior is that if I
ping my server or google, it shows the IP address instantly, so I think that kind of rules out a DNS issue, but I am not sure.
Any idea what is going on here?
I'm running Ubuntu Maverick, on a home Comcast network.