[erlang-bugs] inet_res: unpredictable resolution failure ?

Mickaël Rémond mickael.remond@REDACTED
Wed May 14 17:48:28 CEST 2008


Hello,

I suspect a bug in inet_res. When using this resolver it seems we get  
somewhat unpredictable results:
- gethostbyname can fails sometime (nxdomain error)
- connect sometimes fails with nxdomain error
If retry immediately the query / connect most of the time succeed.

I know that this module is not documented, but to my knowledge it is  
the only way to do DNS lookup on some specific type of records (mx or  
srv records).

I can provide details if you need to.

Thank you !

-- 
Mickaël Rémond
  http://www.process-one.net/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080514/320302ae/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080514/320302ae/attachment.bin>


More information about the erlang-bugs mailing list