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

Fix for blocking modes #677

Merged
merged 2 commits into from Jan 20, 2020
Merged

Fix for blocking modes #677

merged 2 commits into from Jan 20, 2020

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Jan 20, 2020

By submitting this pull request, I confirm the following:

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?:

10


This PR fixes two bugs in FTL. One was the detection of the address which should be used to reply to a request, the other was the correct synthesis of the DNS header response codes and the requirement of the absence of answer section records for NODATA and NXDOMAIN blocking modes.

Both issues are fixed by the PR and only appeared when using a different blocking mode than NULL (which is Pi-hole's default).

Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
@DL6ER DL6ER added the Bugfix label Jan 20, 2020
@DL6ER DL6ER added this to the v5.0 milestone Jan 20, 2020
@DL6ER DL6ER requested a review from a team January 20, 2020 17:49
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/blockingmode-nxdomain-is-being-ignored/27167/9

@DL6ER DL6ER merged commit 021cd83 into release/v5.0 Jan 20, 2020
@DL6ER DL6ER deleted the fix/MODE_NXDOMAIN branch January 20, 2020 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants