Re: negative caching ttl question

2020-10-13 Thread Veaceslav Revutchi
Thank you, Tony. You're right. I do see a difference in behavior when querying other authoritative, non-AWS servers. I didn't realize it was the job of the authoritative server to do the math and present the proper ttl. Thanks for the pointer to the relevant section in the rfc. Slava On Tue, Oct

Re: negative caching ttl question

2020-10-13 Thread Tony Finch
Veaceslav Revutchi wrote: > Given this soa: > > fe80.info. 3600 IN SOA ns-538.awsdns-03.net. > awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60 > > I see bind caching negative answers for 3600 instead of 60. The rfc > and my google searches suggest that it should pick the MIN(soa ttl, > soa mi

negative caching ttl question

2020-10-06 Thread Veaceslav Revutchi
Given this soa: fe80.info. 3600 IN SOA ns-538.awsdns-03.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60 I see bind caching negative answers for 3600 instead of 60. The rfc and my google searches suggest that it should pick the MIN(soa ttl, soa min ttl) for that purpose. What am I missing