mdadm: Fix compile with musl 1.1.23
[openwrt/staging/hauke.git] / package / network / services / dnsmasq / patches / 130-dnssec-add-hostname-info-to-insecure-DS-warning.patch
1 From a1030c159e28bbfa966799e7b9a86081398d6352 Mon Sep 17 00:00:00 2001
2 From: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
3 Date: Sat, 11 May 2019 16:04:56 +0100
4 Subject: [PATCH] dnssec: add hostname info to insecure DS warning
5
6 Make the existing "insecure DS received" warning more informative by
7 reporting the domain name reporting the issue.
8
9 This may help identify a problem with a specific domain or server
10 configuration.
11
12 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
13 ---
14 src/dnssec.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/src/dnssec.c
18 +++ b/src/dnssec.c
19 @@ -873,7 +873,7 @@ int dnssec_validate_ds(time_t now, struc
20
21 if (rc == STAT_INSECURE)
22 {
23 - my_syslog(LOG_WARNING, _("Insecure DS reply received, do upstream DNS servers support DNSSEC?"));
24 + my_syslog(LOG_WARNING, _("Insecure DS reply received for %s, check domain configuration and upstream DNS server DNSSEC support"), name);
25 rc = STAT_BOGUS;
26 }
27