Closed Tieske closed 6 years ago
I picked validTtl
because it is used as the ttl for valid answers (there are others for errors etc). If we'd call it overrideTtl
it wouldn't explain which answers it would override.
Additionally, valid
is the name of the similar nginx option
regarding the usecase, I referenced the original issue it resolves, but I could repeat it here?
ah, my bad, I missed the referenced issue, sorry. the explanation for the name is reasonable as well.
On Thu, Aug 23, 2018, 17:11 Thijs Schreijer notifications@github.com wrote:
I picked validTtl because it is used as the ttl for valid answers (there are others for errors etc). If we'd call it overrideTtl it wouldn't explain which answers it would override.
Additionally, valid is the name of the similar nginx option
regarding the usecase, I referenced the original issue it resolves, but I could repeat it here?
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/Kong/lua-resty-dns-client/pull/57#issuecomment-415555584, or mute the thread https://github.com/notifications/unsubscribe-auth/AAO_dfJx-tpXbzS9ZbgFXm9V17XiMkwkks5uTwxtgaJpZM4WJ4NI .
Implements a new option
validTtl
that, if given, overrides the ttl of any valid answer received from the name server.closes #48