Skip to main content

All Questions

Tagged with
0 votes
1 answer
375 views

Why does running avahi-browse within a docker container returns (NULL) network interfaces?

I'm attempting mDNS discovery from within a Docker container and running it using sudo docker run --privileged -v /var/run/dbus:/var/run/dbus -v /var/run/avahi-daemon/socket:/var/run/avahi-daemon/...
user1224478's user avatar
0 votes
0 answers
250 views

Removing duplicates from the services resolved by avahi-client

I want to use the C avahi library to create a dialog box in gtk that can list all the services in DNS-SD network. I am able to list all the services in a dialog box but I want to clean this list of ...
Divyasheel's user avatar
1 vote
1 answer
312 views

Can Linux mDNS client be "pure" client?

I found some famous mDNS clients, such as nss-mdns, Avahi-browse, are dependent on avahi-daemon. However, if we start avahi-daemon, the client machine also publish its mDNS domain name and become a ...
Evian's user avatar
  • 1,175
2 votes
0 answers
3k views

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/[email protected] with the following: [Unit] Description=...
Ikaro's user avatar
  • 165
0 votes
0 answers
53 views

No Service Workers with Avahi/Zeroconf (machineName.local)

When testing for service worker capability in the browser: (in index.html) if ('serviceWorker' in navigator) { console.log('serviceWorker OK'); } else { console.log('serviceWorker NOT OK'); }...
yPhil's user avatar
  • 8,279
0 votes
0 answers
865 views

How to create DNS-SD custom hostname in centos linux so that we can dicover it by zeroconf resolver in dotnetcore

I need to get ipaddress by hostname for zeroconf devices. Its working perfectly in windows but in linux it gives below error Here is the Windows code, but it does not work Linux with avahi ILookup&...
Quick's user avatar
  • 21
1 vote
0 answers
224 views

gethostbyname works in bonjour, but not in avahi

I am finishing up the process of switching from bonjour to avahi in my embedded Linux 3.14. All is working fine,except from the issue of gethostbyname(). Mdns advertised devices are resolved by ...
glrocks's user avatar
  • 11
2 votes
1 answer
2k views

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: [...
ThreeState's user avatar
0 votes
1 answer
33 views

file request for: "0002-Add-uninstalled.pc.in-files.patch" from avahi for compiling for android

I try to compile a Qt console project for Android that includes DNS services provided by avahi. As my shared libraries dns_sd.so are not compatible, I would try to compile avahi according to these ...
Andrea S.'s user avatar
2 votes
2 answers
2k views

Can Avahi publish twice the same service name over the network?

I'm trying to write a C program that allows me to publish a service over the local network. I'm using Avahi to publish this service named download and of type _lzo._tcp. Basically, I deployed this C ...
Lazao's user avatar
  • 225
0 votes
2 answers
2k views

How to resolve lost service details (Avahi, ZeroConf)?

I'm trying to write some kind of service browser with Avahi. Discovering and resolving new services works just fine, however I'm facing a problem when I try to resolve service that was lost in ...
Buyuk's user avatar
  • 1,094
2 votes
0 answers
904 views

How to discover network services on domain other than .local domain in Android?

I want to use Android Network Service Discovery (NSD) function to discover some local network services advertised on local domain. I read the official documentation on Android website about Android ...
tonga's user avatar
  • 11.9k
-2 votes
1 answer
1k views

Wide area service discovery via bonjur / avahi

I'm looking into wide area service discovery and bonjur / avahi seem to be really good. However, I'm a bit confused about how all this works? So: I have a bunch of services running in a cloud. I ...
user2297996's user avatar
  • 1,474
1 vote
1 answer
1k views

zeroconf implementation on an embedded linux system

I have an embeeded system that I like to add zeroconf to it. The aim is: Auto assign an IP to itself if there is no dhcp available. It respond to mdns request and identify itself correctly. It ...
mans's user avatar
  • 17.7k
1 vote
0 answers
837 views

iOS bonjour browser is not reliable

I am using NSNetServiceBrowser from Xamarin (former Mono Touch) to scan for bonjour devices. This works most of the time, but there seems to be a) a big caching issue, where it doesn't realize there ...
David Müller's user avatar

15 30 50 per page