Questions tagged [avahi]

Avahi is a free zeroconf implementation - A service discovery protocol. It can be used to find services on a network and also to publish services to be found by other Zeroconf clients.

Filter by
Sorted by
Tagged with
1 vote
0 answers
10 views

Is it possible to automatically import mDNS entries into a bind9 .local zone file?

It's nice to have a zeroconf setup with mDNS, but some of my machines (like docker containers) do not contain the avahi-daemon and by that they are not able to resolve .local hostnames. Now I could ...
user avatar
  • 459
1 vote
1 answer
123 views

Why are Nix programs not able to resolve mDNS names when native programs are?

My native programs (on Fedora) are able to resolve mDNS / Avahi / zeroconf names, like so: $ ping felonyspork.local -c 1 PING felonyspork.local (192.168.88.169) 56(84) bytes of data. 64 bytes from ...
user avatar
0 votes
1 answer
58 views

Avahi found IP changes after a few seconds

I use avahi to find machines on the local network. It's been acting up recently, causing a machine to hand out the wrong IP. I ssh'd into a different machine to debug the issue. Confirming the ...
user avatar
0 votes
0 answers
92 views

Avahi-browse only showing ipv6 entries when in a different vlan

Why are only IPv6 entries shown, what happened to the IPv4 entries? IPv6 Entries are the only ones being populated with the avahi-browse when run from a different vlan. Setup IGMP, PIM on L3 switch ...
user avatar
0 votes
0 answers
92 views

Declare avahi host as 127.0.0.1 result a collision

I'm trying to configure an avahi host with IP 127.0.0.1 (I want network computer to see themselves on a specific hostname for testing purposes). So i added this in /etc/avahi/hosts file : 127.0.0.1 ...
user avatar
  • 586
0 votes
0 answers
72 views

Avahi / Zeroconf: Configure DNS-SD for external Server

I have a centralized remote printer, say "printer.company.com" with IPP and I need to publish this printer in a local network with NAT. Services for "local" services are no problem,...
user avatar
  • 337
1 vote
0 answers
291 views

mDNS service is discovered but not reachable

I've some problems connecting to services on my raspberry pi. I desire the following: 1x Raspberry Pi running multiple services (like openhab, mosquitto, nagios, etc.). Each of these services is ...
user avatar
1 vote
0 answers
569 views

How do I resolve .local. DNS names on Debian 10?

I have a small local Ethernet network which I am using as a prototype for an industrial automation network. The network currently has 2 machines, both running Debian 10. There is no DNS server ...
user avatar
  • 11
0 votes
1 answer
311 views

avahi-resolve resolves hostname that dig -p 5353 @224.0.0.251 does not?

I thought avahi-resolve and dig -p 5353 @224.0.0.251 did much the same thing. However, I have a device where I can resolve its name using avahi-resolve but not using dig: $ avahi-resolve --name ding-...
user avatar
1 vote
0 answers
163 views

centos7 avahi avahi-browse large timeouts on networks with many devices

I have been struggling with regular usage of the avahi-browse command on all CentOS 7 servers placed in a large network with many devices reporting out avahi/mdns data. Part of an application run this ...
user avatar
  • 11
0 votes
1 answer
309 views

Publishing CNAME to Avahi over DBUS requires long lived process

I am attempting to setup CNAMEs in Avahi in order to broadcast multiple hostnames. I've found a variety of examples online that all work but they all require long lived processes: https://github.com/...
user avatar
  • 105
0 votes
1 answer
64 views

several RPis sharing wifi internet by cable, with same hostname. Precedence lookup?

I've a Lab with a wifi AP. Students connect their laptops to this AP. Each student has a RPi3 that shares wifi internet by cable. i.e each student laptop acts as a gateway with wlan0, the external ...
user avatar
3 votes
0 answers
1k views

How does ping determine the IP address of an mDNS service?

I am trying to write a Python 3 program which, when given the name of a service, returns the IPv4 numeric address of the machine running the service. (I don't want to use the zeroconf module.) Using ...
user avatar
1 vote
0 answers
28 views

Fedora client persist old address after router advertisement

I have a linux-based DSL router, running radvd Because the prefix from my ISP may change, so I have to change the radvd.conf when prefix changes. For example, like this. interface br-lan { ...
user avatar
1 vote
2 answers
534 views

Different Avahi/ZeroConf Services for different VLANs

I couldn't find any reference in the man page for Avahi so here is my question: Is there a possiblity to configure one service (printer) for only one VLAN and another service (printer) for another ...
user avatar
  • 337
0 votes
2 answers
923 views

linux redhat + how to resolve the issue about Invalid response packet from host

we have thousand of the following message in /var/log/messages we also have strange issue that machine restart each of couple dayes what need to do in order to avoid these messages? Apr 25 00:08:31 ...
user avatar
  • 451
-2 votes
1 answer
118 views

How do I figure out the nameservers Avahi is using?

Avahi now runs in Ubuntu to serve as a nameserver on 127.0.1.1. How do I figure out which nameserver(s) Avahi auto-discovered to use?
user avatar
0 votes
1 answer
826 views

cannot ping link-local address from other subnet when defaut gateway route is seted

I have a problem with my route table I don't know why it doesn't work. I have two test cases, I did draw a network map for each case. currently I can't resolv the goal. The goal: laptop-1 can ...
user avatar
1 vote
2 answers
2k views

Can't discover a IPv4 link-local address when having an static IP configured

I have link-local addresses working out-of-the-box when coupled with DHCP, since when there's no DHCP, the device doesn't get an IP, only a link-local one. Still, I need to have link-local addresses ...
user avatar
  • 85
0 votes
1 answer
477 views

Ubuntu bonjour name server

Is there a way to have my remote server talking to my mac via bonjour? Avahi and netatalk are configured and ready using afp. Tried with opnvpn without success. Also tried with the dns-sd server ...
user avatar
3 votes
1 answer
9k views

Host name conflict with avahi daemon on Ubuntu 14.04 LTS

I have two VMs running Ubunut 14.04 on Virtualbox. They are connected via VIP. Syslog on node1 shows recuring error messages from Avahi and I can't find the problem nor the solution. tail /var/log/...
user avatar
  • 2,003
0 votes
1 answer
2k views

Centos 7 Avahi doesn't resolve from windows machines

I have installed and configured avahi-daemon and samba on Centos 6.6 and it's working when I am testing it from an Ubuntu machine. e.g.: ping myhostname.local or smb://myhostname.local However, when ...
user avatar
  • 146
2 votes
0 answers
209 views

How can I get systemd to wait for Avahi to completely stop at shutdown/reboot time?

Specifically, I've got some code that consumes the output of avahi-browse on another machine and occasionally it doesn't see all of the services stopping when a server powers down or reboots. ...
user avatar
0 votes
0 answers
335 views

How to discover a Cisco switch via Bonjour on Linux

I have a simple network consisting of a Linux box (running dhcpd and avahi-daemon), a Cisco SF302-08PP switch, some Zeroconf-capable devices, and for debugging a MacBook Pro. Everything gets their ...
user avatar
2 votes
1 answer
1k views

stop avahi on archlinux

I have archlinux with samba. I noticed from last update it started avahi-daemon. If I stop/disable avahi, seems samba starting avahi automatically. Also tried with kill. Printing is disabled in ...
user avatar
  • 786
11 votes
3 answers
2k views

How to prevent Avahi adding -2 to hostnames

Often (maybe 80% of the time), when I reboot a machine running Avahi, it starts using machinename-2.local as it's hostname. All the machines on my network have unique hostnames, so there is no ...
user avatar
  • 263
3 votes
1 answer
4k views

How to publish hostnames of Ubuntu machines using Avahi

How do you configure Avahi on Ubuntu to automatically broadcast and discover the DNS info for each Linux server on a local network? I've ran this on my localhost (hostname mylocalhost) and a test ...
user avatar
  • 3,440
-1 votes
2 answers
1k views

how to get a connection between Windows and Linux without an existing DHCP server

Scenario: In general a ubuntu machine (called server) runs in a network and gets an IP from it. Due to testing, sometimes a windows machine (client) is physical connected to the ubuntu machine ...
user avatar
  • 215
3 votes
2 answers
2k views

Avahi How do I setup multiple servers that originally have the same hostname

Let me explain what I'm trying to do: I'm creating a Linux Distro Image that will be installed on a SD Card Setting the default hostname to myHostname.local This is all on my local network This is ...
user avatar
3 votes
0 answers
320 views

How to send dynamic update to DNS Server using Avahi?

I am using beaglebone running avahi-daemon and I have configure it to respond mdns query with local name “myboard.local” when accessed from PC on same network. It works fine. But, how can I ...
user avatar
5 votes
3 answers
12k views

How to configure SELinux to allow specific services to communicate with Avahi?

I have a service, running on a Fedora 20 machine, that when started attempts to register services with Avahi. This works perfectly if my service is started while SELinux is in permissive mode, but the ...
user avatar
3 votes
2 answers
4k views

Avahi (zeroconf/bonjour) service in bridged VirtualBox sometimes not found outside host

I have a VirtualBox with Debian 3.2.51 guest (vcube) on Ubuntu 13.10 host (ring) with a bridged network adapter. vcube has an Avahi service configured with a vcube.local name. I can see/ping/access ...
user avatar
2 votes
1 answer
1k views

Avahi and Zeroconf Servers found by every application, but not by Safari

I have two servers in my home network: The first one is an Arm based linux computer running on a custom Debian 3.4.43 kernel The second one is an Arduino with an ethernet shield. I installed avahi ...
user avatar
2 votes
2 answers
961 views

Resolve avahi hostnames via DNS

I would love to resolve avahi hostnames via DNS: I connect to the office VPN via PPTP but Avahi refuses to run on POINTOPOINT interfaces. I just want to resolve avahi hostnames via the DNS ...
user avatar
  • 21
3 votes
1 answer
2k views

Avahi add second hostname

Is it possible to let Avahi announce another hostname for the same machine? I know it is meant to announce 'services', but usual clients like eg. browsers lack Avahi service support and rely on name ...
user avatar
  • 1,128
0 votes
2 answers
702 views

how to give cname to any device?

I am working on linux environment and c language. I can not use python,perl,PHP and apache. What my exact need is I want to give a same host name to each device connected in the network. I know that ...
user avatar
  • 1
0 votes
1 answer
194 views

DHCP failsafe subnetwork

I have some systems connected via a simple stupid ethernet switch. Under usual conditions, the switch is connected to a large network providing DHCP service and Internet gateway. However, if the group ...
user avatar
  • 1,128
0 votes
1 answer
3k views

How to unblock service discovery for IPv4 via Avahi?

On a Debian 6.0.6 system (squeeze) I am having trouble resolving a host using Avahi and IPv4. Here is a sample output: : nr@homedog 10102 ; avahi-browse -a + eth0 IPv6 yorkie [00:1f:3b:d8:67:1d] ...
user avatar
10 votes
2 answers
12k views

avahi-daemon binds to eth0 udp ports 5353 and 53791

avahi-daemon continues to bind to eth0 ports 5353 and 53791. Is there any way to tell avahi-daemon to only bind to localhost and not eth0 ? /etc/avahi/avahi-daemon.conf use-ipv4=yes use-ipv6=no ...
user avatar
6 votes
1 answer
3k views

avahi stops publishing after a few minutes

I've got a couple of virtual machines (running Scientific Linux 6.2) that publish Workstation records so that they can easily be found on the net. Some of the virtual machines stop publishing after a ...
user avatar
  • 181
3 votes
1 answer
1k views

Do you need to advertise an AFP service via Avahi for an Ubuntu Server to show up in OSX Finder?

I am only advertising an NFS share plus the "model", and I don't want to install extra services on the Server unless I have to, ie netatalk, as it is used solely for NFS exports. Currently there is ...
user avatar
  • 83
1 vote
1 answer
2k views

Failed to find user 'avahi'

So I'm trying to setup CUPS + AirPrint support and one of the packages required is Avahi. I have installed it via ipkg, and have tried running the daemon, however I get the following error. Failed ...
user avatar
  • 119
4 votes
1 answer
6k views

Connecting to host using avahi gives error: Name or service not known

I'm creating and destroying virtual machines all the time, in order to test various services or applications, and so I'd like to use avahi to connect to them by their names so I don't have to use ...
user avatar
4 votes
1 answer
3k views

getting warning messages "avahi-daemon[3201]: Invalid query packet." on suse 10.1 server with raid 1

I had recently replaced a failing hard drive on my software raid 1 system with suse 10.1 , and i am checking for any warning messages on " var/log/warn " and i found this message "avahi-daemon[3201]...
user avatar
  • 145
1 vote
1 answer
2k views

Multiple ethernet interfaces same IP address space

Am I allowed to have multiple ethernet interfaces on a WinXP/Win7 host, that share the same IP-subnet? Scenario: There are multiple USB adapters, that are using RNDIS (usb-ethernet-gadget) and ...
user avatar
  • 113
8 votes
2 answers
5k views

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes ...
user avatar
4 votes
1 answer
9k views

Configure Avahi nss-mdns not to use local suffix with hostnames because of issue in mounting Samba share

How to configure Avahi & nss-mdns to resolve names in my small home network in the same manner as Windows does with NetBIOS or more recently LLMNR. For Linux, there are two options: Winbind aka ...
user avatar
  • 151
2 votes
0 answers
749 views

ZeroConf (Bonjour/Avahi): Macs do not see Linux systems and vice versa [closed]

In my home network I have several OS X boxes and several Ubuntu boxes. Each Ubuntu box sees other boxes via ZeroConf. I can "ssh ubuntu1.local" and "ping ubuntu1.local" from "ubuntu2.local", but ...
user avatar
17 votes
1 answer
1k views

Using Avahi on DreamPlug Ubuntu with iPads

I have the following very peculiar issue with using Avahi on the DreamPlug (which is a plug computer running Ubuntu Jaunty). After spending days on this, I think I've managed to narrow down the issue....
user avatar
  • 288
9 votes
1 answer
1k views

Is there a way to set up Avahi to implement "anycast name resolution" on a LAN?

First, some background: We've got a lab containing a handful of dedicated Linux servers that run on an isolated LAN. All the servers run the same OS (Debian Linux) and the same proprietary server ...
user avatar