-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Ability to disable "Special Use Domain Name" blocking #1618
base: main
Are you sure you want to change the base?
Conversation
docs/configuration.md
Outdated
Some RFCs have optional recommendations, which are configurable as described below. | ||
However, you can completely deactivate the blocking of SUDN by setting enable to false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a warning included that this should only be done if your upstream DNS server is local since this shouldldn't be disabled for remote upstreams.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a warning as desired
add warning
I am not sure about the failed unit test. Please give me a hint there. |
Have only skimmed over the changes since I'm on mobile but it seems like you never set the enabled config option to false before checking if it's disabled. |
I hope I fixed the unit test now |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1618 +/- ##
==========================================
+ Coverage 93.88% 93.91% +0.02%
==========================================
Files 78 80 +2
Lines 6361 6569 +208
==========================================
+ Hits 5972 6169 +197
- Misses 300 316 +16
+ Partials 89 84 -5 ☔ View full report in Codecov by Sentry. |
Fixed 🙂👍 Only one test is still missing: you test the enabled state for the config but not the resolver. The sudn resolver already has an option for disabling it for a subset. Those tests could be used as a starting point (an adaptation of the last sudn resolver test should be enough). |
I added a test. Hopefully it works out. :) |
Anything more what I can do? |
No description provided.