ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.94k stars 892 forks source link

iSH Fails to update /etc/resolv.conf on Network change #2222

Closed jaclu closed 1 year ago

jaclu commented 1 year ago

I have had exchanges with some of the devs over this. At first, their utter failure to even agree this was an issue surprised me. Eventually, I realized that if they are in permissive regions, where 3rd party nameservers are tolerated by ISPs, they would never notice this.

They change networks, and their now obsolete nameservers list can still be used - for them the supposed issue does not exist.

However this is not always the case, and where 3rd party nameservers are not accepted by the ISPs a network change instantly causes iSH to lose connectivity. You can still communicate by IP#, but that is kind of irrelevant. If you lose lookups, you essentially get disconnected.

To test for this issue:

If they differ you are suffering this bug. Due to permissive routing, you might not be negatively impacted, but it is there.

I did some searching to see what is the more common case, to allow 3rd party nameservers or not, but I could not find any conclusions on a global scale beyond that it would typically be allowed in the US and Scandinavia.

jaclu commented 1 year ago

Works for me with release 502