Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying dns names as proxy hosts #25

Closed
crass opened this issue Jun 27, 2013 · 4 comments
Closed

Allow specifying dns names as proxy hosts #25

crass opened this issue Jun 27, 2013 · 4 comments

Comments

@crass
Copy link

crass commented Jun 27, 2013

I realize this was disabled in a previous issue. However, there are plenty of cases where dns names can be allowed. For instance, when proxy_dns is off. Perhaps there should be a new option proxy_proxy_dns which should take a parameter, one of: force, disallow, if_possible.

  • force - ensures that no dns requests are leaked.
  • disallow - all dns is done locally
  • if_possible - resolve remotely if possible, otherwise do it locally.

Note that if proxy_proxy_dns = force could still allow proxies to be specified as DNS names by proxying the dns through the partially created proxy chain.

@rofl0r
Copy link
Owner

rofl0r commented Jun 27, 2013

imo that's too much hassle for little gain - if someone doesnt know the ip of his proxy he can look it up via hosts or proxyresolv (with a temporary tor config or similar).
i'm not even sure if it is still possible to turn off proxy_dns...

@muelli
Copy link

muelli commented May 7, 2015

It's easy to resolve the name to an IP address. But that address might change. But the name, e.g. proxy.acme.corp will very likely stay the same.

Also, I'm trying to use proxychains behind a corporate proxy which requires authentication, because some software I want to provision does not deal well with such proxies. Hence, I am trying to install proxychains. And I'm using ansible for provisioning. Ansible, however, does not resolve hostnames and it seems much easier to make proxychains accept a hostname instead of making Ansible do something totally unrelated to its purpose.

@ajthemacboy
Copy link

I'd really like this ability as well. Say I want to use a proxy, say the PIA proxy proxy-nl.privateinternetaccess.com, but I don't want to manually specify each IP from nslookup.

@rofl0r
Copy link
Owner

rofl0r commented Oct 20, 2016

yeah, you don't want to manually specify ips and i don't want to code the feature you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants