-
Notifications
You must be signed in to change notification settings - Fork 278
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
Possible issue on dns resolution #80
Comments
"host unreachable" is usually an indicator of network stability issues. the target may be temporarily overloaded, or your side has some connectivity issues. |
Thanks for the information. I've made additional testings and after running microsocks with the -b option like this:
Then, so far, I have not got that "host unreachable" error again. If I run it without the -b option, I get that errors again. Do you know why this can happen? |
in that case, it'd might make sense to watch the DNS traffic using e.g. wireshark for when that happens. is it using v4 or v6 when the problem arises? or, does connecting to any of the resolved ips directly result in issues too ? |
I made some tests and here are the results:
Without using the "-b 0.0.0.0" option I can occasionally get the "host unreachable" errors. But not always, generally on the first time I visit that domain or when I test some concurrent visits. I have now changed VPS to see if there was a sort of network issue on this one. Will keep update in case I find something. |
Hello,
I am using microsocks in a Debian 12 OS and all works fine, except one thing:
Sometimes with some websites the socks5 connection fails with "host unreachable" error:
socks connect tcp 1.2.3.4:1080->www.hugedomains.com:443: unknown error host unreachable
I found that another user reported a similar issue in the past:
#40 (comment)
And the suggested solution to edit /etc/gai.conf and uncomment this line:
precedence ::ffff:0:0/96 100
But I still get occasional "host unreachable" errors.
Here is the "host" output for both domains:
Any idea as to why it is failing in this case?
PS: I am running microsocks like this:
microsocks -p 1080
And the VPS has both IPv4 and IPv6 address.
The text was updated successfully, but these errors were encountered: