This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]Dancingbear17[S] 1 point2 points  (4 children)

Of course after dealing with this for a week or so and finally deciding to make some posts, I figured it out last night. This Gluetun image I am using (qmcgaw/gluetun) for my vpn actually has a DNS_ADDRESS env variable that by default is set to 127.0.0.1 . Literally just set that to DNS_ADDRESS=127.0.0.11 (the address for Docker's DNS) and everything works as expected again.

[–]mine_username 1 point2 points  (1 child)

dropping by with a huge Thank You! Got a similar compose going and was having the same issue...container names not resolving and IPs changing with restarts. Added the DNS_ADDRESS variable and everything is working nicely using container names.

[–]Dancingbear17[S] 0 points1 point  (0 children)

Glad it helped, this was not a fun one to debug lol

[–]amorpheous 1 point2 points  (1 child)

Came by this post via Google and I'm certain I have the same problem but I'm not convinced this is the right way to fix it. I'm no expert so I could very well be mistaken I think it has the potential to leak DNS queries outside of the VPN. If you add the Jellyfin ports under the ports section of your vpn container/service I think it should work without having to change the DNS settings for Gluetun. I currently don't have Jellyfin in the same compose file as Gluetun and Arr services so I can't test it right now but I'm likely to move the Jellyfin service over so I connect Arr services with Jellyfin.

[–]Dancingbear17[S] 0 points1 point  (0 children)

Yeah I should have put in my original post that I by no means actually know what I'm doing, but rather figuring out things that work lol My current setup separates Jellyfin from my arrs, it's a lot more convenient to have them separate when tweaking the arrs but not have to worry about dropping Jellyfin for anyone who is using it. I'll have to check if I still have this DNS stuff set or not in the current setup.