Hey Ori, I believe the delivery service specific TTL setting issue you describe is a bug. We haven't been on 1.7 for some time, but to the best of my knowledge it's still an issue. TC-200 and TC-254 document the issue. We're at the Traffic Control summit now, and will be doing a bug scrub later today if time permits, and I'll bring it up then. It looks like TC-254 is a duplicate bug with slightly different wording, so I'll likely merge it with TC-200.
Also, as far as I know, the default values used for delivery service TTLs are *not* pulled from the setting in config->ttls, which is parameter driven. They're currently hardcoded in a template. I can make a note to use the defaults from config->ttls, and fall back to hardcoded defaults if necessary. In the meantime, if you need a workaround, you can edit the field directly in the database and snapshot the CRConfig. This is what we've been doing, but to be frank, this is a simple bug that we need to fix ASAP. -- Thanks, Jeff On Mon, May 15, 2017 at 12:48 AM, Ori Finkelman <o...@qwilt.com> wrote: > Hi, > I am using TC 1.7. > I have an HTTP delivery service and would like to change the TTL of the A > records traffic router is responding with, > When changing the parameters tld.ttls.A or tld.ttls.AAAA it has no effect > on the TTLs passed in the CRConfig.json. It always stays 3600, which is > different than the behavior for the tld.ttls.NS which is properly reflected. > For example, setting > tld.ttls.A 60 > tld.ttls.AAAA 60 > tld.ttls.NS 40 > > Creates the following CRConfig.json > > "my-service": { > "protocol": { > "redirectToHttps": "false", > "acceptHttps": "false" > }, > "domains": ["my-service.my-cdn.my-domain.com"], > "missLocation": { > "long": "-87.627778", > "lat": "41.881944" > }, > "ttls": { > "AAAA": "3600", > "SOA": "86400", > "A": "3600", > "NS": "40" > }, > > Is there a different configuration I am missing, or it's a known issue ? > > Thanks, > Ori > > > > > > -- > > *Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | > o...@qwilt.com