Open hellodword opened 1 year ago
How do you think?
I'd love to try my best to contribute.
Related:
That would be a significant overhaul that introduces a lot of new logic, so I don't think it should be going into the v0.108 cycle. Feel free to make a fork and implement that feature there, if you would like to.
After an overview of dnsproxy today, I've realized that implementing these features might be challenging. 💪
I have a feeling that these tasks are going to take a long time :)
Prerequisites
[X] I have checked the Wiki and Discussions and found no answer
[X] I have searched other issues and found no duplicates
[X] I want to request a feature or enhancement and not ask a question
The problem
Now the dnsproxy parses the upstream_dns as url
https://github.com/AdguardTeam/dnsproxy/blob/c060c2a788d961f9291afc93d7954022fc52b2e3/upstream/upstream.go#L180-L210
But I think different upstreams may have different purposes.
For example:
I use the upstream
8.8.8.8
, it supportsedns-client-subnet
:My ip location is US, now I want to resolve
A.domain
as JP and resolveB.domain
as EU.Proposed solution
or
The
group
is another feature for upstream dns rules.We could make the rules more powerful.
Alternatives considered and additional information
No response