-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
DNS issues with new linuxserver container #1693
Comments
I created an issue at linuxserver.io repo as well. |
Let's see what they say first, my first guess is this is Docker or networking related and not likely the application core. Keep me posted with their response. |
Hi @shalak, Quickly tested this as well. From the container I can resolve other container names without a problem.
I checked your docker compose in the lsio issue and noticed that you are using an external database on dns name. Does that one works or do you have problems with it as well? |
I'm not sure what you mean by "external database on dns name". Do you mean the |
Yess I meant the |
Describe the bug
After switching to the new linuxserver-powered container, the
influxdb
no longer resolves to the docker container of influxdb instance.Instead, if resolves (via the DHCP-search option), using my LANs DNS server to
influxdb.example.org
, which points to reverse-proxy instance, thus making the connection to port 8086 impossible.I noticed that this only affects
curl
, notping
, and speedtest-tracker uses PHP's curl libs under the hood.Environment:
Additional context
Here's how
/etc/resolv.conf
looks like:The
ping
resolves DNS properly, via internal Docker DNS service, to172.20.0.4
:The
curl
resolves DNS incorrectly, via my LAN DNS service, I believe because before attempting to resolveinfluxdb
it first applies the DHCP search option and adds.example.org
toinfluxdb
, i.e. resolves to myinfluxdb.example.org
address, which is10.0.0.131
(address of my reverse-proxy, port 8086 is not even open there):As a workaround, I can use
influxdb.services_default
hostname (services_default is my compose network):I understand that docker image is no longer maintained by the author of this repo, I'll be creating an issue on their side as well, but I decided to create it here for better visibility (people usually tend to visit issues page of the root project first)
The text was updated successfully, but these errors were encountered: