[erlang-bugs] inet_res:getbyname

Matthew O'Gorman mogorman@REDACTED
Thu Sep 6 02:01:57 CEST 2007


inet_res:getbyname fails unless started with -name

 erl

Erlang (BEAM) emulator version 5.5.5 [source] [64-bit]
[async-threads:0] [hipe] [kernel-poll:false]



Eshell V5.5.5  (abort with ^G)

1> inet_res:getbyname("_xmpp-server._tcp.digium.com",srv).

{error,timeout}

2>



 erl -sname matt

Erlang (BEAM) emulator version 5.5.5 [source] [64-bit]
[async-threads:0] [hipe] [kernel-poll:false]



Eshell V5.5.5  (abort with ^G)

(matt@REDACTED)1> inet_res:getbyname("_xmpp-server._tcp.digium.com",srv).

{error,timeout}

(matt@REDACTED)2>



erl -name matt

Erlang (BEAM) emulator version 5.5.5 [source] [64-bit]
[async-threads:0] [hipe] [kernel-poll:false]



Eshell V5.5.5  (abort with ^G)

(matt@REDACTED)1>
inet_res:getbyname("_xmpp-server._tcp.digium.com",srv).

{ok,{hostent,"_xmpp-server._tcp.digium.com",

             [],

             srv,

             1,

             [{5,0,5269,"jabber.digium.com"}]}}

(matt@REDACTED)2>




This seems to have existed since r10b i was wondering if there are any
intentions on ever fixing it?

Mog



More information about the erlang-bugs mailing list