bryancall commented on issue #8760: URL: https://github.com/apache/trafficserver/issues/8760#issuecomment-4827449927
Traffic Server already supports caching and serving failed or error DNS responses for a configurable period through proxy.config.hostdb.fail.timeout. When a lookup fails (for example SERVFAIL or an SOA-only response), HostDB stores a failed record whose lifetime is set from that configuration value and serves it until the fail timeout elapses, after which it is dropped and re-resolved. This is documented in records.yaml as the time to live value for failed hostdb lookups, and the note there states that failure responses (such as SOA) are subject to this timeout. Since the requested capability is provided by an existing configuration option, I am closing this. If you are looking for something more specific (for example honoring the negative time to live carried in the DNS response rather than a fixed configured value), please open a new issue with the exact behavior and a reproduction so it can be tracked precisely. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
