December 5, 20241 yr 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 December 6, 20241 yr by olea
December 9, 20241 yr 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 December 9, 20241 yr by bmartino1 data
December 9, 20241 yr 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.