Android DNS failing after Airplane mode

I put my Android device into flight mode when I go to sleep. Using NextDNS with Tailscale. When I turn off flight mode, I don’t have a working DNS, and the tailscale app will often crash/freeze when I open it. If I force close the app, then open it and toggle tailscale on the DNS eventually wakes up.