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.

UNRAID uses wrong DNS

Featured Replies

In my UNRAID network setup, I have defined three DNS servers:

1) My own - Which is a technetium docker within UNRAID, accessible fine by everybody (other PC use it fine for resolution and I can access its web interface), set in its own IP, as the docker is defined to use "br0" network.
2) My router.

3) 8.8.8.8 (as a fall back)

 

Seeing UNRAID's /etc/resolv.conf indeed shows those three IP.

When I try to ping addresses that are defined in my internal DNS, it doesn't resolve them. Using nslookup, I find that it uses my router as DNS!

What is wrong?

 

Note that from within UNRAID console my own DNS does NOT respond to ping, while from my PC it does.

UNRAID cannot access its own docker network?

(I verified with a second docket that uses br0 and own IP... pingable from my PC, not pingable from UNRAID that hosts it)

Edited by NLS

Solved by NLS

  • Community Expert
53 minutes ago, NLS said:

 

UNRAID cannot access its own docker network?

(I verified with a second docket that uses br0 and own IP... pingable from my PC, not pingable from UNRAID that hosts it)

Thats a secruity feature by docker.

You can enable host access to custom networks in the docker settings to work around it. (could have issues with wireguard, if you use that)

  • Author
2 minutes ago, Mainfrezzer said:

Thats a secruity feature by docker.

You can enable host access to custom networks in the docker settings to work around it. (could have issues with wireguard, if you use that)

 

Can you point me to how?

Also can you point me on any documentation of why this would be a problem with wireguard? (my router does have it's own VPN features, including wireguard, so I might not use this UNRAID feature).

 

BTW I might (and probably have) always had this issue without knowing it. My previous router, was able to manage distinct DNS entries depending on domain (a feature I was using), so probably was used by UNRAID but then transparently still used my own DNS - because my router queried it instead of UNRAID. So I didn't see the problem. The current router (as stupid AVM Fritz by my ISP), cannot do that, cannot even set two DNS in its own DHCP.

 

  • Author
  • Solution

...ah I found it.

 

image.png.e6338ba377a9cae48a13a01a44a9d833.png

Edited by NLS

  • Community Expert
Just now, NLS said:

 

Can you point me to how?

Also can you point me on any documentation of why this would be a problem with wireguard? (my router does have it's own VPN features, including wireguard, so I might not use this UNRAID feature).

 

BTW I might (and probably have) always had this issue without knowing it. My previous router, was able to manage distinct DNS entries depending on domain (a feature I was using), so probably was used by UNRAID but then transparently still used my own DNS - because my router queried it instead of UNRAID. So I didn't see the problem. The current router (as stupid AVM Fritz by my ISP), cannot do that, cannot even set two DNS in its own DHCP.

 

Click in the GUI on Settings then Docker 

Stop the Docker Service and enable Advance view in the top right
image.thumb.png.ebcfbbc0be11160d19764af7ade6546b.png

There is no documentation about the wireguard issue, apart from a thread by me to work around it.

What it boils down to is that unraid uses br0 for interfaces, which will no longer work if host access is activated because it should use shim-br0

  • Author

Can you point me to the thread to read it? Thanks for the help.

 

  • Community Expert
Just now, NLS said:

Can you point me to the thread to read it? Thanks for the help.

 

Absolutely
 

 

  • Author

A note that this also resolved my fetchmail container issue.

(apparently it couldn't find my mail server VM using its FQDN, as it was defined in the DNS it wasn't using)

 

  • 3 months later...
  • Author

I want to re-open this thread.
Since Monday, I again cannot use my fetchmail container.
My Technitium DNS is working (it uses its own separate IP), my PC is resolving things using it.

BUT again fetchmail cannot ping it (container-to-container), although "host access to custom networks" is still enabled since last time (that worked fine).

Weirdly enough UNRAID itself (as host) ALSO cannot ping my DNS. My PC pings my DNS.

I am in 7.1.2 UNRAID, but I am since way more than the beginning of the week. I feel something else changed. Maybe some plugin update? Could it be something related to tailscale? (which I don't actively use but have installed)

Any ideas?

  • Author

...and I fixed it again.

Seems my docker network was using ipvlan... I switched to macvlan and it worked...

Is this ok to leave it like that?

(also I disabled, applied and re-enabled "host access" setting again... could it be this that fixed it?)

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.