mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 22:28:34 -04:00
A serve-stale refresh is similar to a prefetch, the only difference is when it triggers. Where a prefetch is done when an RRset is about to expire, a serve-stale refresh is done when the RRset is already stale. This means that the check for the stale-refresh window needs to move into query_stale_refresh(). We need to clear the DNS_DBFIND_STALEENABLED option at the same places as where we clear DNS_DBFIND_STALETIMEOUT. Now that serve-stale refresh acts the same as prefetch, there is no worry that the same rdataset is added to the message twice. This makes some code obsolete, specifically where we need to clear rdatasets from the message. |
||
|---|---|---|
| .. | ||
| ns | ||
| .clang-format | ||