Can't start any apps on my Truenas Scale instance

Hi, I have a Truenas Scale server that is running on an i5 8600k and a z370p motherboard. The problem have is that when I try to install an app like tailscale I get a warning saying:

[EFAULT] Failed 'up' action for 'tailscale' app. Please check /var/log/app_lifecycle.log for more details

and when I look into the app_lifecycle.log file I get:

[2025/03/05 22:42:42] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'tailscale' app:  tailscale Pulling 
 tailscale Error Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 192.168.0.1:53: no such host
Error response from daemon: Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 192.168.0.1:53: no such host

when I try nslookup on hostname I get an ip, and that’s the same for any app I try to install. Does anyone know what the problem is?

Well, it’s failing to resolve ghcr.io using 192.168.0.1 as the DNS provider. I guess you noticed that since you’re trying nslookup.

Are you doing nslookup from your TrueNAS system, or a different system on the network? Have you tried assigning a different DNS to TrueNAS at least for troubleshooting?

Thank you for the help, it’s true when I ran the dig command on ghcr.io I could not find anything. I tried changing the dns server on truenas, and it works, it seams like my router did not have the dns entry for ghcr.io

My router was blacklisting Russia and China, and that killed apps FWIW.

in having the same issue. did you find a fix and would you be able to share the fix with me ?

When I changed the dns server on my router it worked, I think it was my router that blocked the dns queries