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.

How to make Unraid to resolve system broadcasted mDNS

Featured Replies

Hi:

 

Unraid 6.12.14 here.

 

The context:

  • I have a complex docker composition[1] (9 interlinked services)
  • this composition set up three web applications 
  • each application uses it's own dns (i.e.: a.local, b.local and c.local)
  • this dns is used LAN access, obviously
  • but also by the applications between themselves
  • probably it could be done modifying the original composition, but it's outside my current docker knowledge
  • so, the most elegant alternative seems to be to publish mDNS names from the Unraid system
  • I found a very elegant tool to publish mDNS names, go-avahi-cname[2], which works great from the LAN
  • but I CAN'T get the containers to resolve this mDNS names.

 

I don't know if is a matter of local configuration of the Unraid Avahi daemon or/and if it's related with docker networking or with the containers configuration themselves. How could I make Unraid (and my precious containers) resolve Avahi names published in the server?

 

Thanks!

 

[1] https://github.com/wmde/wikibase-release-pipeline

[2] https://github.com/grishy/go-avahi-cname

Edited by olea

  • Community Expert

Sounds like you need a dns server in that service list example pihole and use the 1to1 file replacmenet to set dns server in the dockers to control their dns networking...

docker extra parameter option --dns can work here too.
 


unraid doesn't natively have nor support avahi zero conf. That more router/networking side...

review:

*per solution make sue your trying the FQDN! that means hostname.domain name
so my unraid server is called bmm-unraid the FQDN is bmm-unraid.localdomain
your domain name is router/network specific... it may be .lan .local etc....

Otherwise run a avahi zerconf docker...

 

When it comes to Zeroconf (mDNS) and Docker, you have a few options:

Image: The most popular choice is the avahi image, available from several maintainers on Docker Hub:

ydkn/avahi

solidnerd/avahi

flungo/avahi
...

Edited by bmartino1
data

  • Community Expert

Do at your own risk
You can install avahi on unraid as it is Slackware linux.

https://slackware.pkgs.org/15.0/salix-x86_64/avahi-0.8-x86_64-1gv.txz.html
 

cd /boot/extra
wget https://download.salixos.org/x86_64/15.0/salix/n/avahi-0.8-x86_64-1gv.txz

Reboot to install

Been a while since I used and configured avahi...
https://linux.die.net/man/5/avahi-daemon.conf

use unraid plugin user script to make changes and have avahi on unraids network....

The unraid package here is a 3rdpary app install from a 3rdparty repo...

This is maybe one reason why unraid hasn't implemented it that and usually zerconf is apple centric and other mdns are done capable form other sources better then from the nas.

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.