Failed to log into the Elden Ring game server error

Hi, I play on PS5 and I am getting this error whenever I'm trying to log into Elden Ring
I am on the latest patch and my internet is working fine, have tried restarting my net and PS5 but still can only play game in offline, does anyone know a fix?
 
Hey I believe this has to do with your DNS address too
I had the same issue randomly came up even though the game worked fine online for me just previously

I changed my DNS to the cloudflare one on my Playstation 5 and it worked
For the record its

Primary DNS: 1.1.1.1
Seondary DNS: 1.0.0.1