Multicast DNS is a method for (generally) small networks to advertise services without user configuration. The two popular implementations are bonjour (used by Apple systems) avahi (used by linux)
Questions tagged [mdns]
282 questions
0
votes
1 answer
How to discover sub types in mDNS
I am trying to discover based on subtypes. Ex: if i register a service using avahi-publish,
avahi-publish -s --domain="local" --subtype="_annon._sub._http._tcp" "ServiceName" "_http._tcp" 80 "TxtRecord=Some Text"
I need to do service discover based…

user1808215
- 273
- 1
- 6
- 11
0
votes
2 answers
embedded bonjour mdnsresponder for android not working (error -65563; daemon not running)
Since jmDNS does not support the service browse by subtypes, I went with cross compiling the bonjour for android, and I followed the below steps.
Cross compiled the mdnsresponder for android
Wrote dns-sd client with jni wrapper that uses the…

indra
- 832
- 4
- 17
- 33
0
votes
1 answer
mdnsresponder does not show the IPaddress while browsing
I have registered a service using bonjor mdnsresponder
dns-sd -R SMARTCAM _CAMS._tcp. . 80 "u=test" "path=/pub"
When I tried to reslove by name and type as below
dns-sd -L SMARTCAM _CAMS._tcp.
I got the reply as
Lookup…

Phions
- 105
- 10
0
votes
2 answers
bonjour mDNSresponder for Android
I went through the below links http://mirror.yongbok.net/linux/android/repository/external/mdnsresponder/ to get the apple mdns responder cross compiled on the android ndk . but I cloud not get the build it .
got the below error .
make: Circular…

indra
- 832
- 4
- 17
- 33
0
votes
1 answer
What can cause Bonjour to not call me back during browsing?
I have a rather popular Bonjour-based application in App Store. It works perfectly, but around 0.2% of my users report a bizarre bug: "no arrows appear on the edges of the screen, so I can't share stuff with other people!". Needless to say,…

millenomi
- 6,569
- 4
- 31
- 34
0
votes
1 answer
Howto make a device or pc upnp compatible
How can a pc identify a device or another pc by upnp (or similar protocol)?
I want a c# program on a windows machine that can discover upnp devices in a network or a direct connection? (This should be the easy part)
But what has to be done on the…

Gobliins
- 3,848
- 16
- 67
- 122
0
votes
1 answer
how to use the API calls in bonjour mDNSPosix
I have installed apple mDNSreponder on linux and able to publish the service via command line
$ dns-sd -P Stack Overflow _ftp._tcp. . 80 AIR 14.99.8.77
Now I want to know how to use the API call of this in my app to publish the same service…

indra
- 832
- 4
- 17
- 33
0
votes
1 answer
Enabling unicast response(PTR and SRV) in apple's mDNSResponder code
I'm using apple's mDNSResponder(mDNSResponder-320.10.80) code for my service discovery stuff which is working fine for me with multicast but now my requirement is changed and i need to make it to work for unicast. I read the internet draft, in that…

vaddy
- 1
- 1
-1
votes
1 answer
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/socket -d -p 5001:5001 my_application
as shown in…

user1224478
- 345
- 2
- 5
- 15
-1
votes
1 answer
dig, host, nslookup, chrome browser can resolve hostname, curl can't
I'm using macOS Ventura (13.0.1).
Using 4km3/dnsmasq to spin up a DNS server on my local machine. Using subnet 10.6.0.0/16 and assigned static IP 10.6.0.2. I've added the DNS server IP address in my network settings.
Here's what happening
$ dig…

Rocky
- 519
- 6
- 18
-1
votes
1 answer
Samsung Galaxy S10 cannot resolve mDNS .local
Samsung Galaxy S10+, Android 12.
According to Samsung, mDNS is now supposed to work on Android 12 and newer. On my Windows 10 machine I can ping and access the webpage on power.local (an Arduino ESP8266 web server running mDNS). However, my phone…

Johnny
- 115
- 7
-1
votes
1 answer
MDNS not advertising the network interface after network restart in systemd
In systemd, MDNS (avahi-daemon) stops broadcasting the network interface after the network restart. However, for the same scenario, in system init, MDNS will work perfectly normal.
Tried:
Changed the avahi-daemon configuration file
restart the…
-1
votes
1 answer
Android NsdManager resolve return errorCode 0
I want to resolve an IPaddress of a custom IOT device(esp8266) with an Android device.
After some research I think there are two great options to do this. First option is the android NsdManager. The second option is Android mDNSResponder.
I prefer…

Erik
- 427
- 6
- 14
-1
votes
1 answer
Sending web requests to IoT device both on Wifi and on mobile data
I have a Xamarin application that requires to connect to a device from the LAN side and also the WAN side. The device (an ESP8266) is connected via WiFi to an internal network and can be accessed from the WAN side via DDNS.
When the user makes a…

Sparers
- 423
- 5
- 15
-1
votes
1 answer
MQTT broker connect without pre-set IP address
I am building a application to use raspberry as MQTT broker & client and receive the message from ESP32 which is another MQTT client. I need to have ESP32 to get the broker connected without pre-setting IP address manually. Does anyone know how to…

user10417959
- 3
- 3