mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #144] Request: Add an option to let the parent proxy resolve hostnames if it can. #77
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @phantomcraft on GitHub (Sep 14, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/144
If the parent socks5/http proxy has builtin DNS resolution, instead of sending an external resolver like 8.8.8.8, why not just send the host name (such as github.com) to the proxy and ask it for resolve and return the IP?
Curl has this feature: https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS_PROXY.html
Useful for use with Tor.
@snail007 commented on GitHub (Sep 14, 2018):
dns https://github.com/snail007/goproxy#8dns-anti-pollution-server
Tips: SOCKS5 proxy, support CONNECT, UDP protocol and don't support BIND and support username password authentication.
@phantomcraft commented on GitHub (Sep 16, 2018):
What I mean is remote hostname resolution using the DNS servers of the proxy instead of passing an external resolver (8.8.8.8. 1.1.1.1 and others) to it.
@snail007 commented on GitHub (Sep 16, 2018):
in default , proxy using dns server of system to resolve hostbame,unless you passing --dns-address argument instead of system's dns
, client send whatever hostname proxy will send it
to parent as it is without resolution.