The root cause is an #Android bug: https://issuetracker.google.com/issues/429703129 (#ipv6 #routeradvertisement #dns ). When you also have this problem then vote for this bug (see bug ticket).
Hopefully #Google will fix this soon.

DNS over TLS/IPv6 issues- Apps don't load data over Wifi
Problems like this can happen even to the largest manufacturers. There are reports of pixel phones losing WiFi connectivity after the recent Android 17 update if IPv6 is disabled. Good luck to those using phones of Google and Fairphone in the same network. I would love to see a post-mortem after this is resolved to get an idea on what really went wrong, but don’t have high hopes on this. Currently we do not know if Fairphone already identified the root cause or not. We do not even know how wid...