Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DNS resolution for Docker containers

Featured Replies

Hi, I've noticed something strange starting last Friday. My Plex installation all of a sudden stopped working, without me having changed any configuration whatsoever.

 

After some debugging, I came to the conclusion that the Plex container was not resolving plex.tv to the same IP address as the Unraid host:

 

On the host:

root@HomeServer:~# nslookup plex.tv
Server:         192.168.2.1
Address:        192.168.2.1#53

Non-authoritative answer:
Name:   plex.tv
Address: 34.243.94.189
Name:   plex.tv
Address: 34.241.88.179

 

On the containers (not using Plex container because it doesn't have nslookup, instead using a container with a similar network config):

root@ffebaaa320e3:/# nslookup plex.tv
Server:         127.0.0.11
Address:        127.0.0.11:53

Non-authoritative answer:
Name:   plex.tv
Address: 52.18.133.120
Name:   plex.tv
Address: 52.18.140.61

 

This is enough for Plex to get a certificate name error. 


Even though I worked around this by changing the container to use the host network (which made the name resolution work correctly), it is something I'd prefer to avoid. I'm also worrying that other containers may now be having other issues that stem from the same cause...

 

Any idea if/how it is possible to have the docker engine use the host's DNS resolution?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.