-
Hi, Describe To reproduce
python3 dns_server_from_file.py dns_response
The result of the script:
We can find that the Rcode is 2, but I try other DNS resolver like Bind or PowerDNS to do the same test, the result are as follows:
The Rcode is 0. So which Rcode is true? Why? Additional information
The details of the response packet are as follows:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
It’s sending back a RCODE of 2 because
This RCODE sent downstream can be adjusted with the
|
Beta Was this translation helpful? Give feedback.
-
Since this is violating RFC8482 that’s something I will act on: Send Deadwood an ANY query, get a RFC8482 response. |
Beta Was this translation helpful? Give feedback.
-
Done in commit 723eff9 It’s not what the OP wanted, but it’s high time Deadwood supported RFC8482. As an aside, HINFO is also no longer processed by Deadwood, getting the RFC8482 response as well. |
Beta Was this translation helpful? Give feedback.
It’s sending back a RCODE of 2 because
This RCODE sent downstream can be adjusted with the
handle_noreply
andhandle_overload
are set: