Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use external DNS #239

Open
1 task done
audas opened this issue Dec 4, 2024 · 2 comments
Open
1 task done

Can not use external DNS #239

audas opened this issue Dec 4, 2024 · 2 comments

Comments

@audas
Copy link

audas commented Dec 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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"
Copy link

github-actions bot commented Dec 4, 2024

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

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

2 participants