Project

General

Profile

Bug #1180

gethostbyname

Added by OlegPuchinin (Oleg Puchinin) almost 11 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
Backport:
[ruby-core:22261]

Description

=begin
Socket.gethostbyname("192.0.34.166")
return ["192.0.34.166", [], 2, "\xC0\x00\"\xA6"],
not ["www.example.com", [], 2, "\300\000\"\246"]

where is "getnamebyhost" ?

Best regards,
Oleg.
=end

History

#1

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

  • Status changed from Open to Feedback

=begin
What do you mean?

$ dig www.example.com | grep -w IN
;www.example.com. IN A
www.example.com. 80 IN A 208.77.188.166

=end

#2

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

=begin
Hi,

At Fri, 20 Feb 2009 01:32:06 +0900,
Oleg Puchinin wrote in [ruby-core:22261]:

where is "getnamebyhost" ?

Is what you want Socket.getnameinfo?

--
Nobu Nakada

=end

#3

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Status changed from Feedback to Rejected

=begin

=end

Also available in: Atom PDF