From ef726696aa4411d49f7d5400abb275c000718034 Mon Sep 17 00:00:00 2001 From: Otto Date: Fri, 26 Mar 2021 16:37:46 +0100 Subject: [PATCH] Clear d_from if we don't know where the update came from --- pdns/recursor_cache.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index c7c2414ebe..c61076257c 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -480,6 +480,8 @@ void MemRecursorCache::replace(time_t now, const DNSName &qname, const QType qt, ce.d_authZone = authZone; if (from) { ce.d_from = *from; + } else { + ce.d_from = ComboAddress(); } for (const auto& i : content) { -- 2.47.2