From: Luke Bayes Date: 2008-05-03T05:48:22+09:00 Subject: Re: TCPSocket with multiple sub-domains - always a 60 second timeout Thanks to your response, I found this thread: http://www.ruby-forum.com/topic/138634 While the 'do_not_reverse_lookup' fix doesn't have any effect, requiring 'resolve-replace' did seem to address the problem. There was a difference in my symptoms though. These other users claimed an approximately 15 second delay, while mine is exactly 60 seconds every time. Regardless of the differences, adding the following does fix the issue: require 'resolve-replace' As per that discussion, I'll be adding this line to RubyGems in order to avoid the delays that have appeared there as well. Thanks, Luke > However, you might try: > > Socket.do_not_reverse_lookup = true > > ...in case it makes any difference? > > > Regards, > > Bill