From: kazaam Date: 2007-09-28T21:25:17+09:00 Subject: How to use getname() ? I seem to stupid but how can I use getname?!? My aim is getting the domain or subdomain behind an IP-address. I required socket and tried then: hostname = getname(IP) but this doesn't work. I also can't get wiser by reading the doc about it: http://www.ruby-doc.org/stdlib/libdoc/resolv/rdoc/classes/Resolv.html . Someone knows how to use getname() ? greets