Project

General

Profile

Actions

Bug #1180

closed

gethostbyname

Added by OlegPuchinin (Oleg Puchinin) over 15 years ago. Updated over 13 years ago.

Status:
Rejected
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

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 15 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

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 15 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

Actions #3

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Status changed from Feedback to Rejected

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0