Commit 71611831 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

Merge branch 'trac1516'

parents 36adb91a 5c985264
......@@ -383,11 +383,11 @@ This message is also logged when the forwarding is restarted (for instance
if b10-ddns is restarted and the internal connection needs to be created
again), in which case it should be followed by AUTH_START_DDNS_FORWARDER.
% AUTH_UNSUPPORTED_OPCODE unsupported opcode: %1
% AUTH_UNSUPPORTED_OPCODE unsupported opcode %1 received from %2
This is a debug message, produced when a received DNS packet being
processed by the authoritative server has been found to contain an
unsupported opcode. (The opcode is included in the message.) The server
will return an error code of NOTIMPL to the sender.
unsupported opcode. (The opcode and sender details are included in the
message.) The server will return an error code of NOTIMPL to the sender.
% AUTH_XFRIN_CHANNEL_CREATED XFRIN session channel created
This is a debug message indicating that the authoritative server has
......
......@@ -584,8 +584,9 @@ AuthSrv::processMessage(const IOMessage& io_message, Message& message,
Rcode::NOTIMP(), stats_attrs, tsig_context);
}
} else if (opcode != Opcode::QUERY()) {
const IOEndpoint& remote_ep = io_message.getRemoteEndpoint();
LOG_DEBUG(auth_logger, DBG_AUTH_DETAIL, AUTH_UNSUPPORTED_OPCODE)
.arg(message.getOpcode().toText());
.arg(message.getOpcode().toText()).arg(remote_ep);
makeErrorMessage(impl_->renderer_, message, buffer,
Rcode::NOTIMP(), stats_attrs, tsig_context);
} else if (message.getRRCount(Message::SECTION_QUESTION) != 1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment