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@gmail.com phone: +34669448337
You may wish to review the RFC again, I think five seconds is too low. On Tue, May 14, 2019 at 10:45 AM David Villasmil < david.villasmil.work@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
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@gmail.com phone: +34669448337 On Tue, May 14, 2019 at 6:12 PM Raúl Alexis Betancor Santana < rbetancor@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
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@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@gmail.com phone: +34669448337
On Tue, May 14, 2019 at 6:12 PM Raúl Alexis Betancor Santana < rbetancor@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
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@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@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@gmail.com phone: +34669448337
On Tue, May 14, 2019 at 6:12 PM Raúl Alexis Betancor Santana < rbetancor@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@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@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@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@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@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@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@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@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@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@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@gmail.com phone: +34669448337
participants (4)
-
Brian West
-
David Villasmil
-
Raúl Alexis Betancor Santana
-
Steven Ayre