Apply the same logic also for reverse lookups (PTR)

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-04-09 12:36:06 +02:00
parent f216cb0b78
commit d228fbf3ad
+4
View File
@@ -2184,6 +2184,10 @@ static void FTL_reply(const unsigned int flags, const char *name, const union al
// name = google-public-dns-a.google.com
// Hence, isExactMatch is always false
// Set DNSSEC status to INSECURE if it is still unknown
if(query->dnssec == DNSSEC_UNSPECIFIED)
query_set_dnssec(query, DNSSEC_INSECURE);
// Save reply type and update individual reply counters
query_set_reply(flags, 0, addr, query, response);
}