![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Thomas E Enebo
|
Created:
|
16/Apr/13 11:28 AM
|
Description:
|
Socket.gethostname() returns "0.0.0.0" dns cannot resolve the hostname.
Which is kind of odd ![]()
So, here's what I know - When 'Socket.gethostname' is invoked, JRuby does a dns request for the hostname of the server. If that dns request returns NXDOMAIN, Socket.gethostname reports 0.0.0.0.
The weirdest part about this is that it does a dns request for the hostname that I"m asking for. Here's some tcpdump showing it happening:
"sadness" is the name of this workstation and is the string returned by the hostname(1) command and the same value given by gethostname(3).
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Jordan Sissel
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email