Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. This enables you to plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared.
Questions tagged [avahi]
85 questions
49
votes
3 answers
What's the difference between .local, .home, and .lan?
How can I reliably address different machines on my network?
I've always used the .local suffix to talk to computers on my local network before. With a new router, though, .local rarely (though sometimes) works. I've found that .home and .lan…
user4443
23
votes
2 answers
What is the purpose of avahi on a RHEL 7 server?
Running a server machine with CentOS 7, I've noticed that the avahi service is running by default.
I am kind of wondering what the purpose of it is.
One thing it seems to do (in my environment) is randomly disabling IPv6 connectivity, which looks…
maxschlepzig
- 56,316
- 50
- 205
- 279
18
votes
1 answer
What is the difference between resolvconf, systemd-resolve, and avahi?
I'm currently working on a project that has required some DNS troubleshooting. However I am fairly new to the wonderful world of networking and I'm at a bit of a loss as to where to begin.
My specific problem probably belongs on the Raspberry Pi…
Toshi Taperek
- 183
- 1
- 1
- 4
17
votes
1 answer
avahi-daemon withdraws IP address from my network interface
I am running an Arch Linux server in my local network. It has avahi-daemon running on it to advertise some services (like a print server).
It has happened for the second time now that my server was not reachable anymore. After some investigation, I…
cdauth
- 1,387
- 2
- 12
- 19
14
votes
3 answers
avahi-daemon and ".local" domain issues
I have a Ubuntu 16.04 based HTPC/Media Server that's running 24/7. As far as I can remember using an official Ubuntu distro, I've always had issues with the avahi-daemon. The issue is pretty often discussed online. Some people decide to just delete…
halfer
- 151
- 1
- 1
- 5
14
votes
3 answers
Multicasting multiple mdns names
What I would like is to use avahi-daemon to multicast more then one name. So that I could connect to it with domainA.local domainB.local.
I could then reroute these addresses to a different web interface of different applications with nginx.
Is it…
larzz11
- 343
- 2
- 8
12
votes
3 answers
What is the avahi daemon?
I just learning about daemon, by that time I came know avahi daemon can you please explain detaily about avahi daemon and why linux has a avahi user ?
MP Creations
- 185
- 1
- 2
- 8
11
votes
4 answers
How to disable avahi-daemon without uninstalling it
I am running Kali 2.0 64-bit, and I recently noticed that avahi-daemon is starting at boot time, listening on several udp ports.
How do I disable it completely, without purging the package itself?
I have tried
sudo rcconf --off avahi-daemon
But…
Cain
- 113
- 1
- 1
- 4
10
votes
1 answer
mDNS to/from a Docker container
I've made a Docker container which runs a forked-daapd (a DAAP server publishing over mDNS with a single port 3689 for HTTP requests) and exposes the port properly to the host operating system:
sudo docker run -it --rm -v…
Naftuli Kay
- 38,686
- 85
- 220
- 311
9
votes
1 answer
`.fritz.box` and `.local` hostnames in the same network: Which do I really need?
So far, I have avahi-daemon running on all my Ubuntu machines, partly because it is installed by default. The router I used to have was quite dumb and did not really do anything except DHCP and DHCPv6. I could access the other Linux computers with…
Martin Ueding
- 2,682
- 3
- 31
- 45
8
votes
1 answer
How to print from iPad to CUPS?
I would like to print from an iPad2 to the office printer running on CUPS. After following a couple of cookbook style cheat sheets, printing from the iPad still does not work. the iPad sees the printer entry I made and offers it as an option, but…
gunther
- 81
- 1
- 3
7
votes
1 answer
How can I limit engagement with a large office LAN?
I work in a large office building with hundreds of other computers on the same LAN. I don't have any reason to communicate with most of these computers, and when I do, it's always on an "opt-in" basis (like adding a network mount to my fstab). But…
cxrodgers
- 223
- 1
- 2
- 10
7
votes
1 answer
when using avahi, how can a host know if it's name is hostname.local or hostname-2.local
How can a computer running avahi ascertain and display its OWN hostname in the event that it is dynamically changed to foo-2, foo-3, etc due to hostname conflicts with other devices on the network?
When two computers (both with hostname = foo) that…
jpw
- 173
- 1
- 5
7
votes
2 answers
Avahi commands not working in CentOS
I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running:
$ service avahi-daemon status
avahi-daemon (pid 1365) is…
tonga
- 801
- 2
- 9
- 6
6
votes
0 answers
systemd-resolved browse for mdns services
Can systemd-resolved be used to browse for mdns services the same way like avahi-browse?
For example:
$ avahi-browse _smb._tcp
+ eno1 IPv6 PC1 Microsoft Windows Network local
+ eno1 IPv6 PC2 …
sila_user
- 61
- 3