mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-31 13:10:35 +00:00
Remove --dnssec-permissive, pointless if we don't set CD upstream.
This commit is contained in:
1 parent
703c7ff429
commit
7d23a66ff0
3 files changed
+4
-20
No files matched your search
+1
-14
@@ -608,20 +608,7 @@ static size_t process_reply(struct dns_header *header, time_t now, struct server
|
||||
#ifdef HAVE_DNSSEC
|
||||
if (no_cache && !(header->hb4 & HB4_CD))
|
||||
{
|
||||
if (option_bool(OPT_DNSSEC_PERMISS))
|
||||
{
|
||||
unsigned short type;
|
||||
char types[20];
|
||||
|
||||
if (extract_request(header, (size_t)n, daemon->namebuff, &type))
|
||||
{
|
||||
querystr("", types, type);
|
||||
my_syslog(LOG_WARNING, _("DNSSEC validation failed: query %s%s"), daemon->namebuff, types);
|
||||
}
|
||||
else
|
||||
my_syslog(LOG_WARNING, _("DNSSEC validation failed for unknown query"));
|
||||
}
|
||||
else
|
||||
if (!option_bool(OPT_DNSSEC_DEBUG))
|
||||
{
|
||||
/* Bogus reply, turn into SERVFAIL */
|
||||
SET_RCODE(header, SERVFAIL);
|
||||
|
||||
Reference in new issue
Block a user