Found the solution here. DNS Problems after ProtonVPN usage - #3 by wahl.s
Protonvpn kill switch was the problem.