Umbrel.local not connecting

Whenever my router restarts or the power goes off my umbrel.local wont connect. I remember it was a quick fix before, I just had to type in a simple command line in Command Prompt, but I forget what that command line was. Can anybody help me out?