Closed HDebeuf closed 5 years ago
For anyone encountering the same issue, I found a way to resolve the issue:
Mount the /etc/resolv.conf
with a custom DNS resolvers.
For example:
nameserver 1.1.1.1
You may also mount your internal nameserver if you use separate VLANS.
May you update the docker image designed for Unraid where this use case may happen?
For example, requesting through DHCP the nameserver to fill in the /etc/resolv.conf
.
Thank you.
I've tried running Jackett on a custom docker network in Unraid and I'm not able to reproduce your issue.
Using the standard /etc/resolv.conf
root@77fa8d9f0689:/# cat /etc/resolv.conf
nameserver 127.0.0.11
options ndots:0
Thank you for the attempt. For information, I'm talking here about a second physical interface connected to a different router and ISP. The default network of my Unraid server is on another physical interface connected to a different ISP. So I might presume that having localhost in the resolv.conf results in trying to reach the nameserver through the wrong router. When the packets are coming back to my router, this one doesn't find the ip address of the container.
127.0.0.11 is not localhost. It's the ip for the docker network dns.
This is not an image issue. It has to do with docker and networking on a host system level. Please post the issue on the unraid forum.
Dear support team,
The Jackett Docker image in an Unraid environment doesn't seem to resolve any source if a custom network type is chosen.
Host OS: UnraidSettings:![image](https://user-images.githubusercontent.com/32390605/59537781-d8fc7200-8ef7-11e9-8eae-921185f0f5db.png)
Jackett logs
Suggestion to fix: According to the different network interfaces users can grant through Unraid, including VLANS, the generated docker container seems not having access to the network gateway. By choosing Host as Network type, the container is working fine.
I've had a trial by correcting the nameserver ip with the right one on the network, but unfortunately, this didn't seem to resolve the issue.
Working host network choice /etc/resolv.conf :
Not working custom network choice /etc/resolv.conf :
I haven't been able to find the network setup in the custom Debian image in order to try to edit other network changes, but maybe you'll be able to guide me to the right config file.
Thank you,