From: Vladimir Fekete Date: 2009-05-14T17:49:38+09:00 Subject: Re: the question about getaddinfo Hi, approx. 3-5 months ago I had similar problem. The guy who helped tried to help mes said that it works for him. Then he realized that he uses a newes version of ruby (1.9.something at that time). So my first suggestion would be to check (or to write) what version of ruby are you using. I solved the problem using external command (host). I hope it helped a bit. Cheers, V. On Thu, May 14, 2009 at 05:29:50PM +0900, Qq Zz wrote: > I use getaddinfo to get A machine's hostname, > in B machine,the result is correct. > but in A machine,the result is just A machine's name > I use nslookup,the result is also correct. > who can tell me why in A machine???the result is wrong? > -- > Posted via http://www.ruby-forum.com/. > >