You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to reach a server only available in the proxy, I get ENOTFOUND. It appears that the DNS resolution doesn't happen over the proxy.
This appears to be an issue with using socks-proxy-agent according to this StackOverflow post. Perhaps switching to socks5-http(s)-client is the solution.
I am able to reproduce this in the latest version (0.27.2). I am happy to pull a branch and test a fix if needed.
Reacted by nathani-work, Arden Shackelford, sentoc, Daniel Loader, Daniel Hirth, Lapo Luchini, Kai Bublitz, Ngoo Ka-iu, Kutt Katrea, Achraf Ghabi and 2 more
It doesn't work over http either. It feels like Bruno tries to manually resolve the name before sending the request through the proxy?
My dev environment uses a proxy which is responsible for resolving the DNS queries, so I can't make any query for now :(
Using DNS through Socks5 still doesn't work using Bruno 1.19.0.
To be clear, queries do work using this proxy but not to addresses that are not discoverable by a surface request e.g: any .onion site.
I can observe the same behaviour as @Shackelford-Arden on 2.13.2 - a socks5 Proxy running on localhost:20000 (openssh client for Windows with -D 20000 parameter ) is not used for Domain Name lookup.
In other Libraries I've used in the past, this was controlled via the proxy protocol prefix:
socks5:// - Lookup using System Resolver
socks5h:// - Leave Lookup to the Proxy
As a workaround I resolve the address myself and set the Host: Header within the request, but that is understandably not an acceptable solution.
Proxy is configured on Global level, and inherited to the collection through Config: global and setting Protocol to SOCKS5 there as well
As a workaround I resolve the address myself and set the Host: Header within the request, but that is understandably not an acceptable solution.
How did you manage to implement said workaround?
For example, suppose you want to access: https://api.bitget.com/xxx.
First, resolve api.bitget.com using your SSH server. Assume it resolves to the IP address: 123.123.123.123.
Then, in Bruno, set the request URL to: https://123.123.123.123:443/xxx, with header: Host: api.bitget.com
On windows you can find the config for the whole application in C:\Users\$username\AppData\Roaming\bruno\preferences.json.
For individual collections, check the bruno.json file in the collection directory.
Activity
Mika56 commentedon Nov 16, 2023
It doesn't work over http either. It feels like Bruno tries to manually resolve the name before sending the request through the proxy?
My dev environment uses a proxy which is responsible for resolving the DNS queries, so I can't make any query for now :(
sentoc commentedon Feb 5, 2024
Issue still there on version 1.7.1
emilio-cea commentedon Jun 18, 2024
Using DNS through Socks5 still doesn't work using Bruno 1.19.0.
To be clear, queries do work using this proxy but not to addresses that are not discoverable by a surface request e.g: any .onion site.
mayormaier commentedon Sep 1, 2024
Just want to +1 this issue. There should be an option added to proxy DNS traffic in addition to the API requests.
lapo-luchini commentedon Oct 8, 2024
An option would be best, yes, because there are cases when DNS ought to be resolved in SOCKS5 and there are cases when DNS should be resolved locally.
johzie commentedon Apr 8, 2025
Running into the same issue with Bruno 2.0.1 behind a corporate proxy reached via HTTP.
anusree-bruno commentedon Apr 8, 2025
@johzie Can you try our nightly build? https://github.com/usebruno/bruno-nightly-builds
johzie commentedon Apr 8, 2025
@anusree-bruno Thanks for your quick reply. I was able to test my OAuth 2.0 flow with your nightly 2.1.0.
The DNS issues is resolved 🚀. Only thing what remains is using a local proxy e.g. Px running on localhost.
It seems that Bruno has some special handling for DNS resolving on localhost which causes issues using a local proxy for authentication.
Shackelford-Arden commentedon Jul 1, 2025
Reporting that I'm unable to proxy requests on v2.6.1. In my case, specifically with a SOCKS5 proxy listening on
localhost.dev00 commentedon Dec 8, 2025
I can observe the same behaviour as @Shackelford-Arden on 2.13.2 - a socks5 Proxy running on
localhost:20000(openssh client for Windows with-D 20000parameter ) is not used for Domain Name lookup.In other Libraries I've used in the past, this was controlled via the proxy protocol prefix:
socks5://- Lookup using System Resolversocks5h://- Leave Lookup to the ProxyAs a workaround I resolve the address myself and set the
Host:Header within the request, but that is understandably not an acceptable solution.Proxy is configured on Global level, and inherited to the collection through Config: global and setting Protocol to SOCKS5 there as well
LeonteDenismsgDev commentedon Dec 12, 2025
How did you manage to implement said workaround?
firedes commentedon Jun 1, 2026
For example, suppose you want to access:
https://api.bitget.com/xxx.First, resolve
api.bitget.comusing your SSH server. Assume it resolves to the IP address:123.123.123.123.Then, in Bruno, set the request URL to:
https://123.123.123.123:443/xxx, with header:Host: api.bitget.comdev00 commentedon Jul 10, 2026
@LeonteDenismsgDev @firedes
I just tried #6390 (comment) and it works.
On windows you can find the config for the whole application in
C:\Users\$username\AppData\Roaming\bruno\preferences.json.For individual collections, check the
bruno.jsonfile in the collection directory.