Created
March 8, 2015 11:37
-
-
Save hdais/2c77a79dede3e8c035d6 to your computer and use it in GitHub Desktop.
NSD ANY-to-NOTIMP patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- nsd-4.1.1/query.c 2015-01-21 17:36:06.000000000 +0900 | |
| +++ nsd-4.1.1-noany/query.c 2015-03-07 18:50:20.587502110 +0900 | |
| @@ -1384,6 +1384,9 @@ | |
| * Thus RCODE = NOERROR = NSD_RC_OK. */ | |
| return query_error(q, NSD_RC_OK); | |
| } | |
| + if(q->qtype==TYPE_ANY) { | |
| + return query_error(q, NSD_RC_IMPL); | |
| + } | |
| query_prepare_response(q); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A patch for NSD 4.1.1 to reject ANY query (as per draft-ogud-dnsop-any-notimp-00 )