Edit:
As you can read below, DNS is configured correctly and also resolves correctly. I found out that this problem has to do with the sailjail. If I disable sandboxing for individual apps, they also have an internet connection again. Sailjail blocks internet connection - #13 by davodego
So far, this works except for the weather app and the browser. If I add “Sandboxing=Disabled” to the *.desktop file, they ask for SailJail permissions again when I start it, and the internet remains inaccessible.
For whatever reason, a change in name resolution, as I describe below, interferes with SailJail’s operations.
Does anyone have any idea how I can appease SailJail by letting the apps back online?
EndEdit
I need help, I broke DNS… somehow.
I wanted to run the cellular connection through other DNS servers (with tracking blocker). To do this, I followed the instructions: How to change dns on mobile network - #13 by ohnonot
But that didn’t work with my VPN, or rather, the apps couldn’t find the internet after /etc/resolv.conf was no longer a symlink and the VPN was also on.
The VPN should only resolve on the LAN and the new DNS servers that were listed in resolv.conf should resolve everything else on the WAN.
So I deleted /etc/resolve.conf and restored the symlink:
ln -s /var/run/systemd/resolve/resolv.conf /etc/resolv.conf
Now the domain name resolution is totally weird. The Android apps have no problems finding their servers (Nextcloud, Tusky, Banking, eBay, DHL, etc.). It’s mixed in the SFOS apps. The browser can’t find anything anymore, neither via mobile phone, Wi-Fi, nor VPN. Storeman can find the internet, ChumGUI too, and SFOS Forum, weather, and Fahrplan can’t. Whether I’m on Wi-Fi or on the mobile network.
Connmanctl shows the correct DNS servers. On the console, I can query everything correctly with nslookup (as root), ping works too.
I am at a loss.
I really didn’t do anything more than the standalone resolv.conf and back again.
Does anyone have any ideas?
Can I simply delete the connman files, and connman creates them again? Or is there any way I can reset connman and systemd-resolved so that it gets the defaults again?