From ef32505633ad40bd3937edfa739f6b13ecdda599 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 3 Nov 2016 23:15:07 -0400 Subject: dns: set error to REFUSED when there are no answers --- modules/commands/os_dns.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index 687f44f4a..b3062fa3d 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -940,7 +940,6 @@ class ModuleDNS : public Module if (packet->answers.size() == answer_size) { Log(this) << "Error! There are no servers with any IPs of type " << q.type; - /* Send back an empty answer anyway */ } } } -- cgit