go-gost / gost

GO Simple Tunnel - a simple tunnel written in golang
https://gost.run
MIT License
4.38k stars 528 forks source link

How set custom dns in a socks5 #455

Closed kbond2024 closed 4 months ago

kbond2024 commented 7 months ago

Hello anyone help me i am making a socks5 locally by this

gost -L socks5://127.0.0.1:9989 -F socks5://mysocks:port

the dns is resolving using my proxy how i am set for resolve custom dns like 8.8.8.8

ginuerzh commented 4 months ago

Try resolver option:

gost -L socks5://127.0.0.1:9989?resolver=8.8.8.8 -F socks5://mysocks:port

https://gost.run/en/concepts/resolver/