<p>Bogdan, I did some more tests and you are correct, rev_dns for the IP is failing and finishing some time after. The solution now can be one of setting rev_dns=no or not use flag 2 on the test. </p>

<p>How about a feature request to immediately cache the failed requests and a setting to not make another attempt to resolve for a configurable amount of time?  </p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/401#issuecomment-73073198">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcicyXEJbYOk8tEsPHSu6WIZJh_lyNks5no43LgaJpZM4DOPEM.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/401#issuecomment-73073198"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>