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.

126 questions
4
votes
0 answers

Avahi Daemon resolving to wrong host name

I am facing issues with avahi's address resolution to my apple airport router. when I run avahi-browse -alr eth0 IPv4 50-35-10-70.1 AirPort Express _sleep-proxy._udp local hostname = [AirPort-Express.local] address =…
Sriram P
  • 41
  • 7
4
votes
2 answers

avahi-daemon gets stuck registering a service I'm publishing with avahi-publish-service

Occasionally, I notice that I can't detect services that I'm publishing via avahi (bonjour) on Ubuntu. For example, avahi-browse -a does not show the published service, and the browser does not resolve the published .local hostname. On the server…
jonderry
  • 23,013
  • 32
  • 104
  • 171
3
votes
0 answers

Discover services using avahi in AWS

I have a separate VPC and subnet with ec2 instances running in them. I have installed avahi on one of the instances for discovering all the services in that subnet. But avahi is not able to discover this services which are running on other…
3
votes
1 answer

avahi: broadcast that my service has updated information

I have an avahi (zeroconf, dnssd, bonjour) service. I want the service to be able to notify the clients when it has new data so the clients can then connect and query for the updated information. What type of message should the service publish, and…
Poul
  • 3,426
  • 5
  • 37
  • 43
3
votes
0 answers

Running Avahi Docker linux container in windows

I wanted to make a cross-platform solution for a DNS-sd client. I've chose to use Avahi in Linux and then maybe in a docker container in windows (for some reason, solutions like Bonjour are not fit for my purpose. Since Avahi needs to call the …
Fezo
  • 183
  • 2
  • 14
3
votes
1 answer

Avahi DNS-SD on multiple IP addresses

Background: I'm trying to communicate with an IP camera without the need of a DHCP server. This is how the camera acquires an IP address: Basic DHCP procedure (discover etc.) If above should fail the camera has a fallback address of…
Mazze
  • 1,354
  • 4
  • 17
  • 35
3
votes
0 answers

How to use Avahi as if it were Bonjour

I am using Avahi and Bonjour as mDNS responder. In Bonjour, I am getting answers to my query-in-answer section and additional information such as SRV, A, and AAAA records are in the additional section of the DNS packet. But in Avahi, all PTR, SRV,…
3
votes
1 answer

ping hostnames using avahi @ Ubuntu in VMware. No resolving

I'm having a really strange problem. I have 2 virtual machines running ubuntu 11.4 in VMware player. These virtual machines have a bridged connection to my network. Since they use DHCP it would be more easy to let them talk to each other using…
spambas
  • 55
  • 2
  • 8
2
votes
1 answer

How to implement a local subdomain dns server that is avahi aware?

I've built a mini dns server with twisted that is avahi aware. What it does is look for request that ends with .local; If it's the url of the host something like {{hostname}}.local the dns server let the os resolve the adress. If it's something…
amirouche
  • 7,682
  • 6
  • 40
  • 94
2
votes
0 answers

Change domain "local" in avahi and and use a hostname with multiple labels

I need to publish multiple addresses for the same IP (eg: address1.local, address2.local) Did it creating a service /etc/systemd/system/avahi-alias@.service with the following: [Unit] Description=Publish %I as alias for %H.local via…
Ikaro
  • 165
  • 1
  • 12
2
votes
0 answers

rust bindgen unaligned tcache chunk error

I am working on binding for the avahi lib in rust, and I am encountering a runtime error: malloc(): unaligned tcache chunk detected the code at fault: pub fn register_service( &mut self, name: String, svc_type:…
Le Marin
  • 135
  • 1
  • 12
2
votes
1 answer

Opensource library similar to avahi

I need to write an application on windows that connects to avahi running on Linux.I need opensource tools that i can use on windows os. Im aware of BONJOUR.But it is tied to apple licenses... Im not aware of tools.Can somebody suggest…
user615873
  • 21
  • 2
2
votes
1 answer

How to make Windows' Bonjour resolve foo.bar.local subdomains created by Avahi

Why can't Windows' Bonjour (the Apple one) automatically resolve foo.bar.local, when Ubuntu and macOS can? foo.local instead is resolved without issues by every OS. Here's my avahi-daemon.conf: [server] host-name=foo domain-name=bar.local ... This…
ThreeState
  • 21
  • 4
2
votes
0 answers

How can I make `avahi` work outside when `netatalk` running inside docker on `ubuntu`?

Environment: Host PC: Windows 7 ultimate 64bit VMware: VMware Workstation 12 Pro VMware Network: Bridge Inside VMware OS: Ubuntu 16.04.1 amd64 Desktop avahi-daemon: 0.6.32 -------> installation via apt docker: 1.12.4 -------> installation via…
john
  • 21
  • 1
2
votes
2 answers

How to get IP and PORT of a service published by AVAHI in iOS swift?

I am using NSNetServiceBrowser and is able to find service list published by AVAHI in "didFindService" which looks like : Service appeared: local. _https._tcp. TEMP-Mobileyes5-1C497B9ED382 -1 Service appeared: local. _https._tcp.…
Krishna Kumar Thakur
  • 1,456
  • 12
  • 27
1
2
3
8 9