Skip to content

Conversation

@coolaj86
Copy link

rcode should be 5 bits wide, not 4. Thus the mask is 0x1F, not 0xF.

See http://www.zytrax.com/books/dns/ch15/#rcode

See tjfontaine/native-dns-packet#34

`rcode` should be 5 bits wide, not 4. Thus the mask is 0x1F, not 0xF.

See http://www.zytrax.com/books/dns/ch15/#rcode

See tjfontaine/native-dns-packet#34
@coolaj86
Copy link
Author

Just kidding. It is 4 bits https://www.ietf.org/rfc/rfc1035.txt

@coolaj86 coolaj86 closed this Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant