aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/monitored.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-25 17:06:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-25 17:06:34 +0100
commit6d7fce2c1465069b1300c45598fe7a0ae7ccebd4 (patch)
treef137b881436998dc703fc3dd7f4844a5cd5dccd5 /src/libserver/monitored.c
parent811515900708920ba2ceddb078bb4d46181e05a5 (diff)
downloadrspamd-6d7fce2c1465069b1300c45598fe7a0ae7ccebd4.tar.gz
rspamd-6d7fce2c1465069b1300c45598fe7a0ae7ccebd4.zip
[Minor] Log the exact address queried on monitored errors
Diffstat (limited to 'src/libserver/monitored.c')
-rw-r--r--src/libserver/monitored.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 08fec9e20..ddef9ffe3 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -321,11 +321,12 @@ rspamd_monitored_dns_cb (struct rdns_reply *reply, void *arg)
}
else {
msg_notice_mon ("DNS reply returned '%s' for %s while '%s' "
- "was expected "
+ "was expected when querying for '%s'"
"(likely DNS spoofing or BL internal issues)",
rdns_strerror (reply->code),
m->url,
- rdns_strerror (conf->expected_code));
+ rdns_strerror (conf->expected_code),
+ conf->request->str);
}
rspamd_monitored_propagate_error (m, "invalid return");