Co-authored-by: Remi Gacogne <github@coredump.fr>
- Integer
- Default: 60
-Maximum number of seconds to cache a 'server failure' and other answers signalling an error in the packet cache.
-Before version 4.6.0 only ``ServFail`` answers were considered an error. Starting with 4.6.0, any answer without answers records and rcode other than ``NoError`` and ``NXDomain`` are considered errors.
+Maximum number of seconds to cache an answer indicating a failure to resolve in the packet cache.
+Before version 4.6.0 only ``ServFail`` answers were considered as such. Starting with 4.6.0, all responses with a code other than ``NoError`` and ``NXDomain``, or without records in the answer and authority sections, are considered as a failure to resolve.
.. versionchanged:: 4.0.0