[SR-Users] DNS support

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 15 11:13:26 CEST 2011


Hello,

On 9/15/11 9:20 AM, CT Radu wrote:
> Dear sirs and madams,
>
> I was wondering what is the current support for DNS fallback in the 
> 3.1.x branch .
> Lets assume we have a new dialog started and the name in the To field 
> needs to be resolved via a NAPTR.
> Kamailio sends a NAPTR request, gets 3 SRVs , each with a number of A 
> or AAAA records.
> The best/most suitable SRV is selected, however no response is 
> returned from any of the addresses in the A records.
> Now, we should go the second SRV and try the A records in there and so on.
>
> My question is how much from this kind of dns fallback algorithm is 
> supported ?
> (I hope my explanation wasn't too confusing)
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:

http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#dns_parameters

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110915/53d0083e/attachment.htm>


More information about the sr-users mailing list