Be persistent with broken-upstream-DNSSEC warnings.

This commit is contained in:
Simon Kelley
2018-05-04 16:29:57 +01:00
parent 7f0084316a
commit f84e674d8a

View File

@@ -876,12 +876,7 @@ int dnssec_validate_ds(time_t now, struct dns_header *header, size_t plen, char
if (rc == STAT_INSECURE)
{
static int reported = 0;
if (!reported)
{
reported = 1;
my_syslog(LOG_WARNING, _("Insecure DS reply received, do upstream DNS servers support DNSSEC?"));
}
my_syslog(LOG_WARNING, _("Insecure DS reply received, do upstream DNS servers support DNSSEC?"));
rc = STAT_BOGUS;
}