linuxserver / docker-sabnzbd

GNU General Public License v3.0
273 stars 66 forks source link

Can not use external DNS #239

Open audas opened 12 hours ago

audas commented 12 hours ago

Is there an existing issue for this?

Current Behavior

Docker container is on custom network, using pihole as DNS server.

Using sites such as news.easynews.com fails as the docker container can not interact with DNS.

Tested with PING inside container and it is confirmed.

EDIT !!

Also just noticed it is not respecting the volumes and only seeing its internal directories.

Its like it is refusing to acknowledge the external network at all in any way.

Expected Behavior

NZB hosts should be able to resolve domain names using host DNS settings - these are set in both /etc/docker and daemon and inside the docker-compose.yml

Steps To Reproduce

Ubuntu in VM on Proxmox docker-compose.yml Caddy reverse_Proxy Pihole DNS

Container is not accessing host DNS server.

Environment

ubuntu
docker-compose.yml

CPU architecture

x86-64

Docker creation

GNU nano 7.2                                       docker-compose.yml                                                 services:
  sabnzbd:
    dns:
     - 192.168.20.35
#     - 0.0.0.0
    networks:
      - proxy
#    network_mode: "bridge"
    image: lscr.io/linuxserver/sabnzbd:latest
    container_name: sabnzbd
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Australia/Melbourne
    volumes:
      - ./config:/config
      - /mnt/hd/SABnzbd/downloads:/downloads #optional
      - /mnt/hd/SABnzbd/incomplete/downloads:/incomplete-downloads #optional
    ports:
      - 8080:8080
    restart: unless-stopped
networks:
  proxy:
    name: proxy
    external: true

Container logs

Nothing is output - except "connection fail - unable to verify server"
github-actions[bot] commented 12 hours ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.