mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
client-side DNS proxy server: reply NOTIMPL to unsupported queries
Fix for bug 3369.
This commit is contained in:
parent
f303274490
commit
910472c514
@ -95,8 +95,8 @@ evdns_server_callback(struct evdns_server_request *req, void *_data)
|
||||
}
|
||||
if (!q) {
|
||||
log_info(LD_APP, "None of the questions we got were ones we're willing "
|
||||
"to support. Sending NODATA.");
|
||||
evdns_server_request_respond(req, DNS_ERR_NONE);
|
||||
"to support. Sending NOTIMPL.");
|
||||
evdns_server_request_respond(req, DNS_ERR_NOTIMPL);
|
||||
return;
|
||||
}
|
||||
if (q->type != EVDNS_TYPE_A) {
|
||||
|
Loading…
Reference in New Issue
Block a user