[erlang-bugs] inet_res: unpredictable resolution failure ?

Raimo Niskanen <>
Thu May 15 09:33:16 CEST 2008


On Wed, May 14, 2008 at 05:48:28PM +0200, Mickaël Rémond wrote:
> 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

You mean gen_tcp:connect when using inet_res as resolver?

> 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.

Yes please!

> 
> Thank you !
> 
> -- 
> Mickaël Rémond
>  http://www.process-one.net/
> 



> _______________________________________________
> erlang-bugs mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-bugs

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list