ProxyBridge icon indicating copy to clipboard operation
ProxyBridge copied to clipboard

[Feature]: Send domain to proxy

Open taurusxin opened this issue 6 months ago • 3 comments

Platform

Windows

ProxyBridge Version

3.2.0

OS and Version

Windows 11 25H2

Documentation

Code Review

  • [x] I have gone through the code page

Describe the Feature

I'm not sure if this is a bug or feature, in the log window of ProxyBridge, all connections are rendered as IP:port, which leads to a problem that my proxy server uses mihomo (a multi-protocol proxy tool) with perfect domain-based triage rules, but when using ProxyBridge, all connections rendered in mihomo are in IP form, making it impossible to do any rule-based routing. I'm not sure how ProxyBridge's DNS works, but when I enabled [DNS through proxy], it didn't work, and my idea was to leave all domains to the proxy server to resolve instead of pre-resolving and then connecting the IP through the proxy.

Additional Context

Just like Proxifier, send domain to proxy server.

taurusxin avatar May 17 '26 11:05 taurusxin

@Anof-cyber Is there a way to still have it resolved locally? DNS resolving is really slow for socks5, and the term for having the socks5 proxy do this is usually "socks5h". I could see it being slow or sometimes unreliable for certain HTTP/SSL proxies too. It would be nice to have the option instead of just having it only be one way or the other.

God-damnit-all avatar Jun 26 '26 00:06 God-damnit-all

I have a similar behaviour with ProxyBridge in MacOS. Even a rule matching a (TCP) domain as host like *.vpn does not work as it cannot be resolved locally and therefore is not matching (my local setup uses ssh -D as SOCKS5 proxy wich is able to resolve the hostname). So I would vote for reopen.

aburmeis avatar Sep 16 '26 10:09 aburmeis

I have a similar behaviour with ProxyBridge in MacOS. Even a rule matching a (TCP) domain as host like *.vpn does not work as it cannot be resolved locally and therefore is not matching (my local setup uses ssh -D as SOCKS5 proxy wich is able to resolve the hostname). So I would vote for reopen.

@aburmeis i haven't looked into it can you create a seperate issue for this

Anof-cyber avatar Sep 17 '26 03:09 Anof-cyber