mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 18:04:10 -05:00
adjust EDNS query returned status warning message
(cherry picked from commit 0b565f6060)
This commit is contained in:
parent
7fbfa2102d
commit
3efcb5250f
1 changed files with 3 additions and 2 deletions
|
|
@ -553,8 +553,9 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
|
|||
(msg->rcode == dns_rcode_formerr ||
|
||||
msg->rcode == dns_rcode_notimp))
|
||||
printf("\n;; WARNING: EDNS query returned status "
|
||||
"%s - retry with '+noedns'\n",
|
||||
rcode_totext(msg->rcode));
|
||||
"%s - retry with '%s+noedns'\n",
|
||||
rcode_totext(msg->rcode),
|
||||
query->lookup->dnssec ? "+nodnssec ": "");
|
||||
if (msg != query->lookup->sendmsg && extrabytes != 0U)
|
||||
printf(";; WARNING: Message has %u extra byte%s at "
|
||||
"end\n", extrabytes, extrabytes != 0 ? "s" : "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue