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

Network Service Discovery is not discover service type

I want to find server in my local network through android device. I am able to find it by using NSDManager service with service type of server(e.g _workstation._tcp is service type). In my local network I have a wifi router and a wifi repeater,…
Mangesh Sambare
  • 594
  • 3
  • 23
2
votes
3 answers

Sharing a DNSServiceRef using kDNSServiceFlagsShareConnection stalls my program

I'm building a client using dns-sd api from Bonjour. I notice that there is a flag called kDNSServiceFlagsShareConnection that it is used to share the connection of one DNSServiceRef. Apple site says For efficiency, clients that perform many…
gvalero87
  • 855
  • 3
  • 15
  • 32
2
votes
1 answer

Is there a working network service discovery example with mdnsjava?

Problem I'm trying to get started with network service discovery for my Java client/server application -- basically, I just want the client to find the server on the same ethernet segment without configuration. I'd like to provide for the future…
Autumn
  • 3,214
  • 1
  • 20
  • 35
2
votes
1 answer

Running program from within bash, can't get space escaping right

I'm writing a bash script on Mac OSX 10.11 to automatically use dns-sd to "proxy" my Bonjour advertisements for AFP, SMB & some printers when I connect to my VPN. The basic gist of my script is I declare a number of arrays to later use when I call…
Tim Rankin
  • 31
  • 3
2
votes
0 answers

Node mdns dns service error

I'm trying to implement zeroconf protocole with mdns node module but when I use it I have this error (on raspberry pi 2) : error: Error: dns service error: unknown at Error (native) at new Advertisement…
jaumard
  • 8,202
  • 3
  • 40
  • 63
2
votes
2 answers

Using apple mdns service in android

I downloaded dns_sd jar from here http://www.java2s.com/Code/Jar/d/Downloaddnssdjar.htm and trying to use it in my android project to discover services. I use the DNSSD.browse(myService, myBrowseListener) to discover services. The problem is I keep…
2
votes
1 answer

HTTPS with mDNS

I've been looking into using mDNS for service discovery from a JavaScript application. The basic idea is making an AJAX request to exampleservice.local and having that return JSON with relevant information. As the application is loaded over HTTPS,…
Hayden Ball
  • 307
  • 5
  • 13
2
votes
0 answers

How to use tinysvcmdns

I want to use tinysvcmdns (https://bitbucket.org/geekman/tinysvcmdns) for my ARM cortex microcontroller for audio streaming. I am using LWIP as a TCP/IP stack. I have finished porting it on LWIP and now I want to test it. According to the…
user900909
  • 21
  • 5
2
votes
1 answer

mDNS/jmDNS and domains other than local

I'd like to use mDNS as a resolving mechanism in a segregated network. To achieve that I'd like to use fully qualified DNS without the default local post-fix. I've been through all the tooling (dns-sd CLI, avahi, jmDNS) that is out there for mDNS.…
AlessandroEmm
  • 698
  • 7
  • 23
2
votes
0 answers

Is there a way to detect bonjour/mdns/zeroconf/any services in local network in Windows Phone

In WPF application I could add reference to Bonjour 1.0 therefore I was able to detect bonjour services in local network. In Windows Phone application I see no references to Bonjour avaiable. How to deal with that? My problem is that I would like…
Yoda
  • 17,363
  • 67
  • 204
  • 344
2
votes
2 answers

Need more ideas: How to check if iPhone is in Wifi

i have a Debian server. This server should check if iPhones available in my home wifi. The problem is, that i-Devices suspend the wifi module to safe power if mobile data is available. So one solution is, just turn off mobile data and discovery in…
flo
  • 199
  • 1
  • 12
2
votes
2 answers

Bonjour DNS-SD callback not being called, where's a mistake in my code?

I'm trying to learn how to use Bonjour using this blog article as a reference: http://marknelson.us/2011/10/25/dns-service-discovery-on-windows/ I've download sample project linked at the bottom of that page, it works like charm. Now I'm trying to…
Violet Giraffe
  • 32,368
  • 48
  • 194
  • 335
2
votes
1 answer

Windows 7 wireless service not working as expected

I have this one issue, which I'm hopeful you guys will help me out with... I use a plugin we have created for IE... It detects devices over the network... Devices are the ones that we ourselves have created... Now this plugin works fine and detects…
astrx
  • 41
  • 6
2
votes
0 answers

Does Microsoft have a .net class that uses UPnP in c#?

I have been looking for a way to implement UPnP. I have a need for it to run on Windows Compact Environment 7 (WEC7), but in order to test it easily, I want to set up a lab using regular Laptop computers and using the .net framework and coding in…
Curtis
  • 5,794
  • 8
  • 50
  • 77
2
votes
2 answers

Find ip addresses of local devices in C# using mDNS

I have 3 cameras whose MAC and IP addresses are unknown to me, and I want to connect to them. I've connected them to my computer with a UTP cable. Now what I have to do is to find their IP addresses in order to establish a connection. In the…
user983652