<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 9/15/11 9:20 AM, CT Radu wrote:
    <blockquote cite="mid:4E71A759.1000907@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <font size="-1">Dear sirs and madams,<br>
        <br>
        I was wondering what is the current support for DNS fallback in
        the 3.1.x branch .<br>
        Lets assume we have a new dialog started and the name in the To
        field needs to be resolved via a NAPTR.<br>
        Kamailio sends a NAPTR request, gets 3 SRVs , each with a number
        of A or AAAA records.<br>
        The best/most suitable SRV is selected, however no response is
        returned from any of the addresses in the A records.<br>
        Now, we should go the second SRV and try the A records in there
        and so on.<br>
        <br>
        My question is how much from this kind of dns fallback algorithm
        is supported ?<br>
        (I hope my explanation wasn't too confusing)<br>
      </font></blockquote>
    If internal dns cache is enabled (on by default) and then
    dns_try_naptr parameter is on as well, then all above should work
    properly. See more details in the wiki, including the list of dns
    related parameters which can be used to tune the behavior:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#dns_parameters">http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#dns_parameters</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>