-
Notifications
You must be signed in to change notification settings - Fork 654
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
(arm version) DNS lookup failed: read udp: read: connection refused #126
Comments
Seems at least we need to do one dns resolve locally, to resolve the upstream cloudfare domain! |
Solved: net.ResolveIPAddr in arm may query local dns server ( [::1]:53 ), but missing. |
More info: Fix method 1: EOF |
Using cgo is okay to me, otherwise we will have to use some 3rd libs like miekg/dns |
I use some hack & reflect to overwrite Only test with The code: |
version fa7eda0, with ignore_local_dns ON
go build arm version
cmd: ./gof -up="cf://$$:80" -k="$$" -l=":8100" -web-port="8101" -lv=dbg -g -U=http
firefox -> SwitchyOmega -> gof:socks5
Errror only occurs in arm version. Linux x86 and windows are all good.
Is it because of the -g option or ignore_dns flag?
Thanks for any clue about this.
The text was updated successfully, but these errors were encountered: