resolved: add reference to negative caching RFC
This commit is contained in:
@@ -458,6 +458,10 @@ int dns_cache_put(
|
||||
if (r > 0)
|
||||
continue;
|
||||
|
||||
/* See https://tools.ietf.org/html/rfc2308, which
|
||||
* say that a matching SOA record in the packet
|
||||
* is used to to enable negative caching. */
|
||||
|
||||
r = dns_answer_find_soa(answer, q->keys[i], &soa);
|
||||
if (r < 0)
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user