Kong / lua-resty-dns-client

Lua DNS client, load balancer, and utility library
http://kong.github.io/lua-resty-dns-client/topics/README.md.html
Apache License 2.0
152 stars 52 forks source link

fix(base) treat existing record which drops to ttl=0 as valid response #139

Closed onematchfox closed 1 year ago

onematchfox commented 2 years ago

Resolves #131 and https://github.com/Kong/kong/issues/7551

Activity on https://github.com/Kong/kong/issues/7551 suggests that we were not alone in experiencing this issue. Given that we've had this code running for 6+ months without issue now I figured I may as well open a PR with this change.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

hbagdi commented 1 year ago

Closing this due to lack of activity. Please re-open if needed.