Add state ABANDONED which is very similar to BOGUS

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2017-12-31 17:32:45 +01:00
parent 0c4cfce780
commit 804c2d9fd3
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ typedef struct {
enum { QUERIES, FORWARDED, CLIENTS, DOMAINS, OVERTIME, WILDCARD };
enum { SOCKET };
enum { DNSSEC_UNSPECIFIED, DNSSEC_SECURE, DNSSEC_INSECURE, DNSSEC_BOGUS, DNSSEC_UNKNOWN };
enum { DNSSEC_UNSPECIFIED, DNSSEC_SECURE, DNSSEC_INSECURE, DNSSEC_BOGUS, DNSSEC_ABANDONED, DNSSEC_UNKNOWN };
logFileNamesStruct files;
FTLFileNamesStruct FTLfiles;
+4
View File
@@ -990,6 +990,10 @@ void process_pihole_log(int file)
{
domains[queries[i].domainID].dnssec = DNSSEC_BOGUS;
}
else if(strstr(readbuffer,"is ABANDONED") != NULL)
{
domains[queries[i].domainID].dnssec = DNSSEC_ABANDONED;
}
else
{
// Unknown