Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update high ResponseCode in EDNS Section if required #1265

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 11, 2022

  1. Update high ResponseCode in EDNS Section if required

    Some ResponseCodes have high bits which require EDNS to encode them.
    This commit updates Message::set_response_code and
    MessageResponseBuiler::error_msg to silently create a EDNS section if
    required and sets the high bits there.
    
    This also adds a warning to Header::set_response_code that this function
    cannot set the high bits.
    
    Closes hickory-dns#1203
    Closes hickory-dns#1207
    jonasbb committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    ddd25a5 View commit details
    Browse the repository at this point in the history