Tweak logging for truncated replies.

This commit is contained in:
Simon Kelley
2024-11-24 22:13:44 +00:00
parent 4ea23f7ea1
commit 04d7693d86
3 changed files with 3 additions and 1 deletions

View File

@@ -737,7 +737,7 @@ static size_t process_reply(struct dns_header *header, time_t now, struct server
}
if (header->hb3 & HB3_TC)
log_query(F_UPSTREAM, NULL, NULL, "truncated", 0);
log_query(F_UPSTREAM, "query", NULL, "truncated", 0);
else if (!bogusanswer || (header->hb4 & HB4_CD))
{
if (rcode == NXDOMAIN && extract_request(header, n, daemon->namebuff, NULL) &&