[Freeswitch-users] SRV and TTL

David Villasmil david.villasmil.work at gmail.com
Wed May 15 18:15:41 UTC 2019


Hello,

Yes 30 is enough, as long as FS fails over to the next address, which in my
tests seems to do properly.

On Wed, 15 May 2019 at 18:50, Steven Ayre <steveayre at gmail.com> wrote:

> Are you querying the DNS server directly? Some DNS servers will override a
> low TTL with something longer. Local resolvers might as well. At one time
> BIND also interpreted TTL=0 as the the minimum TTL for the zone (see
> RFC1536).
>
> In short you might get unpredictable results with a very short TTL. 30s
> might be enough?
>
> On Tue, 14 May 2019 at 20:49, David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>> so:
>> quote RFC1034:
>>
>> The meaning of the TTL field is a time limit on how long an RR can be
>> kept in a cache.  This limit does not apply to authoritative data in
>> zones; it is also timed out, but by the refreshing policies for the
>> zone.  The TTL is assigned by the administrator for the zone where the
>> data originates.  While short TTLs can be used to minimize caching, and
>> a zero TTL prohibits caching,
>>
>> If i set the TTL to 0, shouldn't FS query everytime?
>> I also don't see a MINIMUM TTL allowe, and the above does implies there
>> _is_ no minimum.
>>
>> So, will FS not cache if it is 0? or should i just not use SRV and go
>> with A records with healthchecks that set the weight to 0 if it fails? (AWS)
>>
>> Thanks all for your help!
>>
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>>
>>
>> On Tue, May 14, 2019 at 6:12 PM Raúl Alexis Betancor Santana <
>> rbetancor at gmail.com> wrote:
>>
>>> Any DNS TTL under 60s should be considered "Not to be cached" and do
>>> real-time-query each time used, but I think that FS simply ignore TTLs,
>>> things are queried once and no more.
>>>
>>> On Tue, May 14, 2019 at 5:09 PM David Villasmil <
>>> david.villasmil.work at gmail.com> wrote:
>>>
>>>> Hello all,
>>>>
>>>> I’m testing SRV where TTL is very low, like ~5 seconds. But I don’t see
>>>> FS refreshing the SRV records. Is there a minimum TTL FS will honor?
>>>>
>>>> Thanks all
>>>>
>>>> David
>>>> --
>>>> Regards,
>>>>
>>>> David Villasmil
>>>> email: david.villasmil.work at gmail.com
>>>> phone: +34669448337
>>>>
>>>> _________________________________________________________________________
>>>>
>>>> The FreeSWITCH project is sponsored by SignalWire
>>>> https://signalwire.com
>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>>> services.
>>>> Build your next product on our scalable cloud platform.
>>>>
>>>> Join our online community to chat in real time
>>>> https://signalwire.community
>>>>
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com
>>>> https://freeswitch.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss
>>>> https://freeswitch.org/confluence
>>>> https://cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> https://freeswitch.com
>>>
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> https://freeswitch.com
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190515/a4567d45/attachment.html>


More information about the FreeSWITCH-users mailing list