mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Apply the same logic also for reverse lookups (PTR)
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user