From: Nathaniel Talbott Date: 2003-09-26T10:39:30+09:00 Subject: Re: TCPSocket.gethostbyname difficulties Peter [mailto:Peter.Vanbroekhoven@cs.kuleuven.ac.be] wrote: > So the lookup > process possibly needs to follow a chain of DNS servers, and > I'm sure this is done by all browsers, but maybe not by ruby > (although I'd expect that to be done by the OS or its libraries...) Hmmmm... I thought TCPSocket.gethostbyname was basically a direct wrapper for the gethostbyname C library function. It really surprises me that it doesn't automatically follow the DNS servers itself. Does anyone know how to get this to work? Even if I have to add more of my own code, I need to be able to check if a given hostname is valid or not. Thanks, Nathaniel <:((><