mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #513] Disable remote resolvers through config.json not working since 3.19.2 #176
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#176
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sajito on GitHub (Jul 16, 2024).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/513
What is Happening
As the title says, it's currently impossible to disable remote resolvers using the
config.json.I found that with 3.19.2 the config has been refactored to use
solverRemote.activeinstead ofnoRemoteServers.But both settings in the json file won't disable them.
My config file looks like this:
Using the command line flag works fine, though.
What is Expected
When querying for anything not listed in the config file, an error should be returned.
E. g. with the config above when querying for
google.com, the response should beSERVFAIL, but instead the domain is actually resolved.Specs
3.24.0-snapshot, but tried every version since 3.19.2@mageddo commented on GitHub (Jul 16, 2024):
DPS is depending on this
solverRemote.circuitBreakerto be defined to considernoRemoteServersflag. The bug is heregithub.com/mageddo/dns-proxy-server@68a4758c3b/src/main/java/com/mageddo/dnsproxyserver/config/dataprovider/ConfigDAOJson.java (L97-L98)This will work
This will not
@mageddo commented on GitHub (Jul 16, 2024):
@Sajito fix was made, releasing
3.24.1-snapshotright now@mageddo commented on GitHub (Jul 16, 2024):
The JSON config file stays unchanged, just the internals of DPS has been changed
@Sajito commented on GitHub (Jul 17, 2024):
Thanks, working fine again!