EDNS: return error on wrong version. (#95)
Split up the previous changes a bit. This PR only returns the expected error when the received packet has the wrong EDNS version. EDNS0 handling in the middleware needs a nicer abstraction, like ReflectEdns() or something.
Showing
middleware/edns.go
0 → 100644
middleware/edns_test.go
0 → 100644
middleware/rcode.go
0 → 100644
Please register or sign in to comment