Page 1 of 1
Unable to connect internet and search / DNS Issue?
Posted: Sun May 26, 2024 12:50 am
by adam81
Hi,
So, I've got YAMS installed (great piece of work by the way). I think all of the containers are talking to each other correctly, but I opted to NOT use the gluetun VPN connection. I actually had it working somehow with this configuration before in a prvios iteration, but now for some reason I am unable to even perform searches for movies or tv shows, and nothing is connecting in qbittorrent. My suspicion is that it's an issue with DNS, but I don't know where to go to confirm this and check or change. Does all traffic still run through gluetun, even though I am not using the VPN? I tried seeting the dns to cloudflare ips in that container, but that didn't do the trick.
I have no idea what else I'm missing or where to look, and I'd rather not reinstall if it can be avoided. Do you guys have any ideas as to what the problem may be, or where I should look to try and straighten this out?
Any help would be very much appreciated.
Thank you!
-A B
EDIT: By tbe way, I forgot to mention that the gluetun container is clearly not starting up all of the way properly. It's running, but reports as "unhealthy" in Portainer, and does not hold on to an IP address on the yams_default network.
Re: Unable to connect internet and search / DNS Issue?
Posted: Sun May 26, 2024 11:52 am
by rogs
Hey @adam81!
Can you share your docker-compose config in a pastebin? Also, did you edit something manually in Portainer?
Cheers!
Roger.
Re: Unable to connect internet and search / DNS Issue?
Posted: Sat Apr 05, 2025 11:03 pm
by brandnewuser
Hello I am having pretty much the exact same issue. I also opted to not use a vpn, as i was downloading from usenet.
Setup is Proxmox --> Regular VM --> Yams install script and Docker.
One interesting thing about my setup is that my media directory is a smb share hosted on OMV, on another VM.
Whats odd is that it is intermittent. Some times I am able to connect to my Usenet Provider from SABnzbd and others it can't resolve host. I am almost never able to ping out from the docker container console. I am able to ping out on the VM that is on proxmox. And I am always able to ping out from the proxmox console.
Only difference in my docker compose is i set SABnzdb to have DNS: 1.1.1.1
Code: Select all
yams@yams:/opt/yams$ cat docker-compose.yaml
services:
# jellyfin is used to serve your media to the client devices
jellyfin:
image: lscr.io/linuxserver/${MEDIA_SERVICE}
container_name: ${MEDIA_SERVICE}
#network_mode: host # plex
environment:
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/${MEDIA_SERVICE}:/config
ports: # plex
- 8096:8096 # plex
restart: unless-stopped
# qBitorrent is used to download torrents
qbittorrent:
image: lscr.io/linuxserver/qbittorrent
container_name: qbittorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- WEBUI_PORT=8081
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/qbittorrent:/config
restart: unless-stopped
ports: # qbittorrent
- 8081:8081 # qbittorrent
#network_mode: "service:gluetun"
# SABnzbd is used to download from usenet
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd
dns:
- 1.1.1.1
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=America/Montevideo
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/sabnzbd:/config
ports: # sabnzbd
- 8080:8080 # sabnzbd
restart: unless-stopped
#network_mode: "service:gluetun"
# Sonarr is used to query, add downloads to the download queue and index TV shows
# https://sonarr.tv/
sonarr:
image: lscr.io/linuxserver/sonarr
container_name: sonarr
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/sonarr:/config
ports:
- 8989:8989
restart: unless-stopped
# Radarr is used to query, add downloads to the download queue and index Movies
# https://radarr.video/
radarr:
image: lscr.io/linuxserver/radarr
container_name: radarr
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/radarr:/config
ports:
- 7878:7878
restart: unless-stopped
# Lidarr is used to query, add downloads to the download queue and index Music
# https://lidarr.audio/
lidarr:
image: lscr.io/linuxserver/lidarr
container_name: lidarr
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/lidarr:/config
ports:
- 8686:8686
restart: unless-stopped
# Readarr is used to query, add downloads to the download queue and index Audio and Ebooks
# https://readarr.com/
readarr:
image: lscr.io/linuxserver/readarr:develop
container_name: readarr
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/readarr:/config
ports:
- 8787:8787
restart: unless-stopped
# Bazarr is used to download and categorize subtitles
# https://www.bazarr.media/
bazarr:
image: lscr.io/linuxserver/bazarr
container_name: bazarr
dns:
- 1.1.1.1
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}/config/bazarr:/config
ports:
- 6767:6767
restart: unless-stopped
# Prowlarr is our torrent indexer/searcher. Sonarr/Radarr use Prowlarr as a source
# https://prowlarr.com/
prowlarr:
image: lscr.io/linuxserver/prowlarr
container_name: prowlarr
dns:
- 1.1.1.1
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${INSTALL_DIRECTORY}/config/prowlarr:/config
ports:
- 9696:9696
restart: unless-stopped
# Gluetun is our VPN, so you can download torrents safely
gluetun:
image: qmcgaw/gluetun:v3
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8003:8000/tcp # Admin
#- 8080:8080/tcp # gluetun
#- 8081:8081/tcp # gluetun
environment:
- VPN_SERVICE_PROVIDER=${VPN_SERVICE}
- VPN_TYPE=openvpn
- OPENVPN_USER=${VPN_USER}
- OPENVPN_PASSWORD=${VPN_PASSWORD}
- OPENVPN_CIPHERS=AES-256-GCM
- PORT_FORWARD_ONLY=on
- VPN_PORT_FORWARDING=on
restart: unless-stopped
# Portainer helps debugging and monitors the containers
portainer:
image: portainer/portainer-ce
container_name: portainer
ports:
- 9000:9000
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ${INSTALL_DIRECTORY}/config/portainer:/data
restart: unless-stopped
# Watchtower is going to keep our instances updated
watchtower:
image: containrrr/watchtower
container_name: watchtower
environment:
- WATCHTOWER_CLEANUP=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
Re: Unable to connect internet and search / DNS Issue?
Posted: Sun Apr 06, 2025 8:04 pm
by rogs
Only difference in my docker compose is i set SABnzdb to have DNS: 1.1.1.1
This might be the problem. You are using a different DNS that's not part of your docker network, so it makes sense for the intermittent issue. Why do you need to manually set the DNS?