Questions tagged [mdns]

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)

282 questions
2
votes
0 answers

How to discover devices like Firetv, Airplay, Chromecast, Roku on a local network within a Flutter app?

it's my first post here. Happy to be a part of a healthy community. So I am working on a Flutter project which requires me to fire up discovery for devices such as FireTV, Chromecast, Roku, Airplay, Samsung on the tap of a single cast button, and…
Aayush Pal
  • 51
  • 1
  • 7
2
votes
1 answer

Unregistering a zeroconf service using jmDNS

I'm tryng to make my Android app register a service via zeroconf while the app is active, and then unregister it after the app exits. In my onResume method I have the following code: // register ourselves with zero conf try { JmDNS…
2
votes
1 answer

Can I change the mDNS hostname in the loop?

I need to change the hostname for the mDNS after setup, inside the main loop. Unfortunately, if I call the MDNS.begin inside the loop with a new hostname, it always returns a 0. Is it possible to change the hostname on the fly, for example by…
Blaine1984
  • 21
  • 1
2
votes
0 answers

Programmatically onboard a Spotify Connect device to my account

Spotify Connect supports onboarding a device (i.e. wifi speaker) into your account directly from your Spotify Application. This is done through a protocol called informally zeroconf. It has been reversed engineered and documented to some…
theomega
  • 31,591
  • 21
  • 89
  • 127
2
votes
2 answers

Browser's mDNS strategies for WebRTC

I can use mDNS feature by WebRTC by enabling -enable-webrtc-hide-local-ips-with-mdns flag at Google Chrome. But after a long investigation, I could not find a clear way for mDNS usage by WebRTC at other browsers such as Firefox or Edge. Is there…
korayguney
  • 169
  • 1
  • 11
2
votes
1 answer

MDNS broadcast from within kubernetes?

I am using jmdns to broadcast a service over mdns which is then running as a docker image inside a kubernetes pod. The pod yaml looks something like this: apiVersion: v1 kind: Pod metadata: name: mdns-broadcaster spec: hostNetwork: true …
Ben C
  • 476
  • 5
  • 16
2
votes
0 answers

I am trying to generate dns-sd query for _universal._sub._ipp.tcp.local, is there a way to request sub query

I am trying to generate dns-sd query for _universal._sub._ipp.tcp.local, is there a way to request subquery. ciscos-Mac-mini:~ cisco$ dns-sd -Z _ipps._tcp,_universal Browsing for _ipps._tcp,_universal DATE: ---Thu 20 Sep…
Harish Nj
  • 21
  • 1
2
votes
0 answers

How to use NsdManager to detect an emulated device on a private network?

I'm currently working on a mobile app that discover's and resolve's a device on a private network. The app currently works perfect and will allow me to connect a socket to this device. Now I'm working on a feature that can't legally be implemented…
Jason Crosby
  • 3,533
  • 4
  • 28
  • 49
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
1 answer

Resolving minwinpc.local on SoftAP

When I connect to the Windows IoT board normally, accessing "minwinpc.local:8080" to get to the IoT device portal works fine in the same network. However, when the same is done through the built-in SoftAP (using WiFiDirectAdvertisementPublisher),…
Etan
  • 17,014
  • 17
  • 89
  • 148
2
votes
0 answers

Bonjour DNSServiceRegister on Android

I am using the Android NDK, with dns_sd.h code that works fine on other platforms: https://github.com/HBPVIS/Servus/blob/master/servus/dnssd/servus.h On Android, the library is calling DNSServiceRegister, there is no error return code, but a DNS-SD…
Jean-Michaël Celerier
  • 7,412
  • 3
  • 54
  • 75
2
votes
0 answers

Android Emulator mdns

I need to run tests on Android Emulator. The app i need to test uses mdns to discover an device to talk to. Is there any way, to connect the emulated android device directly to my network, so mdns works? Thank you! Walter
2
votes
1 answer

How to resolve a conflict between RFCs?

RFC 4034 and RFC 6762 appear to contradict one another. RFC 4034 states the following: A sender MUST NOT use DNS name compression on the Next Domain Name field when transmitting an NSEC RR. * emphasis mine RFC 6762 states the following: All…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
2
votes
0 answers

how does service registration work with NsdManager?

I've just started working with Multicast DNS using the NSDManager class for Android. I came upon the NsdChat example from this link…
Giang Pham
  • 41
  • 5
2
votes
2 answers

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 program in 2 raspberry-pi boards which both have…
Lazao
  • 225
  • 6
  • 16