Questions tagged [avahi]

Open-source implementation of Multicast DNS for Zeronconf networking, similar to Apple's Bonjour.

Avahi is an Implementation of the ​DNS Service Discovery and ​Multicast DNS specifications for ​Zeroconf Networking. It uses ​D-Bus for communication between user applications and a system daemon. The daemon is used to coordinate application efforts in caching replies, necessary to minimize the traffic imposed on networks. Compatible technology is found in Apple MacOS X (branded ​Bonjour and sometimes Zeroconf).

65 questions
16
votes
2 answers

avahi-browse or avahi-discover for Windows

Is there a Windows free (= libre) software analoguous to GNU/Linux avahi-browse or avahi-discover (which would discover avahi/bonjour services on the local network and list them)? Since I have problems with Windows and Ubuntu 12.04 seeing…
7
votes
1 answer

Getting avahi to automatically publish CUPS printers

I know I can manually add a .service file for each printer I have. But I would like to have them published automatically. But from what I've read, it is also possible to get CUPS to inform avahi about its printers. (both cups and avahi are compiled…
Francisco
  • 2,418
7
votes
1 answer

Broadcast mDNS for another device

I have a custom/experimental device (D) on my home LAN with a static IP running an HTTP server. For reasons that are not important to this question, (D) cannot run mDNS. I have another full-fledged Ubuntu Server (S) on the same LAN*. I would like…
kabZX
  • 871
6
votes
1 answer

Installing mDNS resolver in Bash on Windows Subsystem for Linux

I am trying to connect to a PC over mDNS from a Bash script running on Windows. While I am able to ping the PC through its mDNS .local address in CMD, doing the same in an Ubuntu/Bash window fails due to a hostname resolution issue. When I try to…
5
votes
0 answers

avahi-daemon stops randomly on Raspberry Pi 4

I have a fresh installation of Raspberry OS on a Raspberry Pi 4. Avahi is running and can be queried by other hosts. The problem is that after "some time" (1 minute, sometimes 5) it stops to answer any query. Restarting avahi immediately solves the…
lbedogni
  • 161
5
votes
0 answers

dnsmasq for looking up `.local` domains on the clients that don't support mDNS

mDNS (e.g. avahi, bonjour) allows a machine to advertise itself as machine-name.local on its LAN, and allows clients to look it up by that domain name instead of by IP. Most platforms support mDNS out of the box, but infamously android doesn't. i.e.…
4
votes
1 answer

Definition of "workstation" in Avahi Discovery

When I used the Avahi Zeroconf Browser tool on my Lubuntu 16.04 machine, it lists only one of the machines on the LAN as a "Workstation". What's the criteria for listing a LAN computer as a "Workstation" in this tool?
4
votes
2 answers

Avahi - Chromebook: could not resolve hostname

I have a raspberry pi (raspbian jessie) with ssh & vnc services registered in avahi. I can see both services in my client (chromebook) chronos@localhost ~ $ avahi-browse -arl + mlan0 IPv4 raspberrypi SSH _ssh._tcp …
rodrunner
  • 529
3
votes
0 answers

Avahi quits working after a few minutes on FreeBSD/FreeNAS

As I mentioned in another post, I've set up a portsjail on FreeNAS 9.1.1 (FreeBSD 9.x) with CUPS and avahi. I'm trying to set up AirPrint support. I've gotten to the point that a Mac can see the avahi advertised printer, but once it runs for a few…
3
votes
1 answer

Host name record is removed when announcing with avahi

I am trying to announce a ssh service from my raspberry pi running raspian a Debian squeeze variant. It is using avahi-daemon version 0.6.31. However after a certain time, I cannot find my raspberry pi anymore by its dynamic hostame…
3
votes
1 answer

How to resolve hostname by mDNS?

I am using Ubuntu 22.04. I want to be able to resolve hostname of a device connected to my local network. The device is publishing its hostname using mDNS. On my machine, I am able to ping device.local, but nslookup returns: ** server can't find…
3
votes
1 answer

Why can Avahi `.local` domains not be resolved over a VPN?

I have a homelab setup with a few Raspberries Pi that use Avahi for service announcement - I can ssh to them with ssh pi@.local instead of having to remember individual IP addresses. In particular, note that this not only works from my…
scubbo
  • 219
3
votes
0 answers

How do I use mDNS for ssh -6?

Hello I have the following setup: Ubuntu 14.04 LTS Laptop A lot of Raspberry-Pi Model 2 with WLAN The complete setup is based on 802.11 WLAN AD-HOC mode. None of the Pis nor the Laptop uses any static IPs (No IPv4 and IPv6) The only address…
3
votes
0 answers

avahi-daemon enabled but cannot resolve DNS

I have changed the hostname in avahi-daemon.conf file in /etc/avahi so as that the host-name=osmc and it's uncommented. When I do a sudo systemctl status avahi-daemon -l I get the following; ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded:…
eekfonky
  • 175
2
votes
2 answers

mDNS/ZeroConf/Avahi and Multiple IP Addresses for the Same Host

I'm setting up a media server at home with an old PowerMac that I found rotting in some cellar (great computer by the way, I don't understand why they wanted to throw it away) and I installed Debian Jessie on it for this purpose. I also set up Avahi…
1
2 3 4 5