[Help] TOS 5 Network Problem DNS Lookup Failed for Docker and Internet  [SOLVED]

Discussion about Docker
Locked
User avatar
Colgra
Posts: 2
Joined: 11 May 2025, 00:47
Russia

[Help] TOS 5 Network Problem DNS Lookup Failed for Docker and Internet

Post by Colgra »

Hello,
I’m using TOS 5 and manually configured the network via the web interface, specifying a local DNS (192.168.1.1) and Google’s DNS (8.8.8.8). However, when trying to download a Docker image, I get the following error in Portainer:

*Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host*

The same error occurs when running docker pull via SSH. If I execute nslookup google.com, I see:

Server: 127.0.0.1
Address 1: 127.0.0.1 NAS
nslookup: can't resolve 'google.com'
How can I fix this?
User avatar
Colgra
Posts: 2
Joined: 11 May 2025, 00:47
Russia

Re: [Help] TOS 5 Network Problem DNS Lookup Failed for Docker and Internet  [SOLVED]

Post by Colgra »

Yes, figured it out. There was a symlink in /etc/resolv.conf pointing to a non-existent file. Removed the link, created the file manually, added my DNS servers there, and now everything works.
Locked

Return to “Docker”