[Freeswitch-users] Question about DNS handling on FS

Michael Jerris mike at jerris.com
Tue Aug 1 00:58:38 UTC 2017


Unfortunately this isn’t such a strait forward question to answer.  Can you pinpoint where exactly you are looking for.  DNS resolution is not handled globally, it is handled by the system, and individual libraries.  In regards to the sip behavior with dns, we should be following sip specs on this behavior.

Mike

> On Jul 31, 2017, at 9:15 AM, Jospeh Waite <joelists at tm.net.uk> wrote:
> 
> Hi Guys
> 
> Got a question, I’m wondering if anyone can answer.
> 
> I am wondering how FS handles DNS resolution.
> 
> I assume that if I set the TTL on the DNS entry to say 30 seconds that FS will accept that value and do a DNS lookup every 30 seconds? Is that correct.
> 
> My second question is one a cll is in motion to a DNS defined endpoint, i.e. call bridged to a SIP endpoint by domain name, would it keep the IP for the call or the domain name? So would it re-DNS query when it comes to sending the BYE message at end of call if it was over 30 seconds, assuming the above 30sec TTL or would it keep the name/IP mapping for the whole call?
> 
> Regards





More information about the FreeSWITCH-users mailing list