mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #453] Can we support to use server side dns ? #359
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#359
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 @jay763190097 on GitHub (Oct 30, 2021).
Original GitHub issue: https://github.com/snail007/goproxy/issues/453
Expected Behavior
curl https://www.github.com --socks5 8.218.12.92:6543
can return successfully
Current Behavior
192.30.253.112 is not the correct IP. I guess it's using the client dns.
Possible Solution
use the server side dns.
Context (Environment)
@snail007 commented on GitHub (Oct 30, 2021):
--socks5h option do that, it's curl feature.
@jay763190097 commented on GitHub (Nov 1, 2021):
what do you mean?
I tried to use --socks5h, But it seems not correct as bellow.

my suggestion is to support the server side dns. because ip(172.217.17.36) of google.com is not correct, my server can not reach to.
another question is when I'm using the shadowsocks to connect the goproxy, it's constantly throwing version issue.
@jay763190097 commented on GitHub (Nov 1, 2021):
my computer
172.217.17.36 is parsed by the dns in my local env, So I guess that is place where happened.
my server
@snail007 commented on GitHub (Nov 1, 2021):
curl -x socks5h://foo.com: port URL
@jay763190097 commented on GitHub (Nov 3, 2021):
can not work.