Failing docker pulls/run

I am experiencing issues that are beyond my abilities. I am running a homelab with ubuntu server 22.10 and docker. All was working well but yesterday evening I encountered a strange issue. When attempting to docker pull I am greeted with this; " Using default tag: latest
Error response from daemon: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:39271->[::1]:53: read: connection refused"

Any help much appreciated

-Thanks in advance!

Hi
I have same problem. It was working yesterday.

Its http after I tried to save new builds configuration:
“Cannot authenticate with registry-1.docker.io: 401 Client Error: Unauthorized for url: https://repos-new.s.us-east-1.aws.dckr.io/v2/repositories/kodercloud/productionmanager/