[Freeswitch-users] SRV and TTL

David Villasmil david.villasmil.work at gmail.com
Tue May 14 19:17:15 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190514/6cc43506/attachment-0001.html>


More information about the FreeSWITCH-users mailing list