From 127077e8b25f026de38d593a5d7ccd38b13b7253 Mon Sep 17 00:00:00 2001 From: Otto Date: Wed, 13 Jan 2021 12:39:26 +0100 Subject: [PATCH] If routing tag entries were found but rejected, return -1 --- pdns/recursor_cache.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index 4b5974b264..4b2d04380a 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -357,6 +357,8 @@ int32_t MemRecursorCache::get(time_t now, const DNSName &qname, const QType& qt, *state = *cachedState; } return fakeTTD(firstIndexIterator, qname, qtype, ttd, now, origTTL, refresh); + } else { + return -1; } } } -- 2.47.2