<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I suspect a bug in inet_res. When using this resolver it seems we get somewhat unpredictable results:</div><div>- gethostbyname can fails sometime (nxdomain error)</div><div>- connect sometimes fails with nxdomain error</div><div>If retry immediately the query / connect most of the time succeed.</div><div><br></div><div>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).</div><div><br></div><div>I can provide details if you need to.</div><div><br></div><div>Thank you !</div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- </div><div>Mickaël Rémond</div><div> <a href="http://www.process-one.net/">http://www.process-one.net/</a></div><div><br></div></div></span></div></div></div></span></div></div></body></html>