This seems like something everybody may want, but I'm very surprised to see that there is not solution to my problem (that I can find). What I want is to run a local DNS server (done) and upstream .local request to avahi. I don't understand why something as simple seems to be quite impossible. My motivation is to be able to reach any node on my network by name from any other device, for example android devices.

Isn't a service that is capable to act as an DNS aggregator of all the methods available to resolve names? WINS, mDNS, normal DNS, expand hostnames from dhcp...

  • I resorted to installing bonjour (extracted from iTunes install)/avahi on every important device I need access to, after I decided I didn't want to set up a dedicated dnsmasq server for dhcp, and didn't want to mess with more robust DNS solutions. following for alternatives. – goofology Jul 14 '19 at 6:50

I ended using my DNS server, pihole, as a DHCP server too. If you provide a local domain name and fixed-named IPS to your DHCP clients, you will be able to use that name + local domain name to reach them. So for example, from my mac I use octopi.local but from my android phone I can use octopi.home where .home it's my local domain name, and octopi is the name I gave to the fixed DHCP entry that corresponds to my octopi server. Not as automatic as avahi, but at least it works.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.