Exisiting apps are not starting and not able to install new apps

Hello fellow Truenas users.
I am on Truenas electric eel 24.10.1. I started my Truenas Scale journey with dragonfish and then upgraded to electric eel.
Apps were working fine with Dragon fish but after I upgraded to Electric eel, things have been difficult.
I also suffered a motherboard failure and now I have switched from an Intel setup to AMD setup but that story is for another day.
Anyway, the current problem that I am facing is with the Apps. I have the ususal aarr apps, Jellyfin, Plex and Immich. I am not able to start Plex and prowlarr apps. I was able to start Immich with much difficutly and I still don’t know what was causing the issue and what fixed it. Also, I am not able to install any new apps.
The log files says that DNS queries for docker. io and ghcr. io were refused. But I am able to ping these just fine. In order to rule out any installation configuration related problems, I even made a fresh install of 24.10.1 and did a ZPOOL import. I was able to start some arr apps under new installation but some were failing and I was not able to install any new apps. So I reverted back to my original boot pool.

Here is the log from /var/cat/app_lifecycle.log.

[2024/12/28 01:39:09] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' ac                                                                                                                                                             tion for 'prowlarr' app:  prowlarr Pulling
 prowlarr Error Get "https://ghcr.io/v2/": net/http: request canceled while wait                                                                                                                                                             ing for connection (Client.Timeout exceeded while awaiting headers)
Error response from daemon: Get "https://ghcr.io/v2/": net/http: request cancele                                                                                                                                                             d while waiting for connection (Client.Timeout exceeded while awaiting headers)

[2024/12/28 12:00:56] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' ac                                                                                                                                                             tion for 'plex' app:  plex Pulling
 plex Error Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.                                                                                                                                                             docker.io on 9.9.9.9:53: read udp 192.168.1.2:52526->9.9.9.9:53: read: connectio                                                                                                                                                             n refused
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lo                                                                                                                                                             okup registry-1.docker.io on 9.9.9.9:53: read udp 192.168.1.2:52526->9.9.9.9:53:                                                                                                                                                              read: connection refused

[2024/12/28 23:50:25] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' ac                                                                                                                                                             tion for 'prowlarr' app:  prowlarr Pulling
 prowlarr Error Head "https://ghcr.io/v2/onedr0p/prowlarr-develop/manifests/1.29                                                                                                                                                             .0.4897": Get "https://ghcr.io/token?scope=repository%3Aonedr0p%2Fprowlarr-devel                                                                                                                                                             op%3Apull&service=ghcr.io": dial tcp: lookup ghcr.io on 9.9.9.9:53: read udp 192                                                                                                                                                             .168.1.2:43424->9.9.9.9:53: read: connection refused
Error response from daemon: Head "https://ghcr.io/v2/onedr0p/prowlarr-develop/ma                                                                                                                                                             nifests/1.29.0.4897": Get "https://ghcr.io/token?scope=repository%3Aonedr0p%2Fpr                                                                                                                                                             owlarr-develop%3Apull&service=ghcr.io": dial tcp: lookup ghcr.io on 9.9.9.9:53:                                                                                                                                                              read udp 192.168.1.2:43424->9.9.9.9:53: read: connection refused

[2024/12/29 00:01:42] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' ac                                                                                                                                                             tion for 'plex' app:  plex Pulling
 plex Error Head "https://registry-1.docker.io/v2/plexinc/pms-docker/manifests/1                                                                                                                                                             .41.3.9314-a0bfb8370": Get "https://auth.docker.io/token?account=vaibhavyagnik&s                                                                                                                                                             cope=repository%3Aplexinc%2Fpms-docker%3Apull&service=registry.docker.io": dial                                                                                                                                                              tcp: lookup auth.docker.io on 9.9.9.9:53: read udp 192.168.1.2:42209->9.9.9.9:53                                                                                                                                                             : read: connection refused
Error response from daemon: Head "https://registry-1.docker.io/v2/plexinc/pms-do                                                                                                                                                             cker/manifests/1.41.3.9314-a0bfb8370": Get "https://auth.docker.io/token?account                                                                                                                                                             =vaibhavyagnik&scope=repository%3Aplexinc%2Fpms-docker%3Apull&service=registry.d                                                                                                                                                             ocker.io": dial tcp: lookup auth.docker.io on 9.9.9.9:53: read udp 192.168.1.2:4                                                                                                                                                             2209->9.9.9.9:53: read: connection refused

[2024/12/29 00:04:24] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' ac                                                                                                                                                             tion for 'ddns-updater' app:  ddns Pulling
 ddns Error Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.                                                                                                                                                             docker.io on 9.9.9.9:53: read udp 192.168.1.2:43270->9.9.9.9:53: read: connectio                                                                                                                                                             n refused
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lo                                                                                                                                                             okup registry-1.docker.io on 9.9.9.9:53: read udp 192.168.1.2:43270->9.9.9.9:53:                                                                                                                                                              read: connection refused