Closed ghost closed 1 year ago
Good catch.
fullConfig.DomainMatcher
has been forgotten.
Adding DomainMatcher: simplifiedConfig.DomainMatcher
in fullConfig
should work. Would you mind creating a pull request?
OK, I'll try.
@mydogshitgold , I have submited a PR to fix it.
What version of V2Ray are you using?
v5.4.0
What's your scenario of using V2Ray?
Apple Platform Client based V2Ray-Core
What problems have you encountered?
dns domainMatcher won't be loaded
Please attach your configuration here
Client configuration:
Please attach error logs here
Client error log:
As the log shows, I set the dns domainMatcher to "mph", but it still uses "default" domain matcher.
I inserted a log print at dns New function and establishDomainRules function, and I found that the config.DomainMatcher was empty.
I try to find the problematic code, but I'm new to golang and lack of knowledge about protobuf, then I'm failed. Now I open an issue here.