Questions tagged [dns-sd]

DNS-based Service Discovery is a part of Zero Configuration Networking. DNS-SD allows clients to discover a named list of services by type using standard DNS queries.

DNS-based Service Discovery is a part of Zero Configuration Networking. DNS-SD allows clients to discover a named list of services by type using standard DNS queries. The technology is supported in many products, such as Apple Bonjour or Linux's Avahi. Android does also use DNS-SD for WiFi Direct Service Discovery.

93 questions
30
votes
2 answers

Wifi P2P service discovery works intermittently

Wifi P2P service discovery is not behaving as expected. I am seeing intermittent issues where the DNSSD listeners are not called always and hence I have no clue of nearby devices running the same app. I am using the following two APIs - one to…
Soumya Das
  • 1,585
  • 2
  • 16
  • 28
16
votes
0 answers

Android NSD - hangs / runs forever - device specific?

I'm attempting to perform service discovery on my company's proprietary hardware device which hosts its own WiFi network and advertises a bonjour service over that network. When I'm connected to that WiFi network, I'm using NSD to discover that…
Ken Rothman
  • 263
  • 2
  • 6
16
votes
1 answer

How exactly does mDNS resolve addresses?

Once a service is discovered through DNS-SD, how exactly does the address of that host get resolved, and does it take significantly more time/overhead? Also, if I am using JmDNS or Bonjour there are call-backs for both serviceFound and…
ndc5057
  • 835
  • 4
  • 9
  • 17
9
votes
1 answer

How to advertise a service using Bonjour across subnets?

I am familiar with the usage of Bonjour for advertising services on the "local" domain. I have worked through several examples, and I know the corresponding Cocoa classes I use for that. I am curious about how I advertise a simple Bonjour service…
pj4533
  • 1,641
  • 3
  • 16
  • 38
8
votes
0 answers

Android & iOS dns-sd: how to do a cross platform service discovery?

On Android I'm doing this way to create a service broadcast with a simple attacched map as info HashMap record = new HashMap<>(); record.put("info, "my android info"); WifiP2pDnsSdServiceInfo serviceInfo =…
user3290180
  • 3,590
  • 9
  • 38
  • 69
8
votes
1 answer

is there a pure C# ZeroConf , bonjour, or dns-sd available?

I'm building a .net-microframework app that uses Zeroconf. The existing zeroconf solutions all seem to either rely on dns-sd.dll or some other interop function of .net which is not supported in .netmf. Is there a pure C# version of zeroconf (or…
MandoMando
  • 4,793
  • 3
  • 25
  • 32
7
votes
1 answer

Bonjour/DNS-SD on Windows

I'm currently working on a cross-platform application (Win/OSX/iOS) which has a C++ (with Boost) back end. On iOS and OSX I'm using the Cocoa Net Service Browser Delegate functions to discover an embedded device via mDNS, then pass the information…
Redeye
  • 1,567
  • 1
  • 13
  • 21
7
votes
1 answer

Resolving SRV records with iOS SDK

I want to resolve DNS SRV records using the iOS SDK. I've already tried the high-level Bonjour APIs Apple is providing, but they're not what I need. Now I'm using DNS SD. void *processQueryForSRVRecord(void *record) { DNSServiceRef sdRef; …
Felix Meyer
  • 73
  • 1
  • 3
6
votes
1 answer

Reroute mDNS query from WSL subnet to windows host subnet

Heya fellow coders/developers/networkers/Devops/... I have an issue with an mDNS/DNS-SD setup in the context of WSL2 (Windows 10 2004 version) I have a pretty simple setup at home with a main server and a Raspberry Pi, and I would like to activate…
Sisyphe
  • 4,500
  • 1
  • 22
  • 39
5
votes
1 answer

Avahi dns_sd compatibility layer fails to run Browse callback

Background I'm working on a cross-platform Zeroconf/Bonjour/DNS-SD library for Haskell, and figured my best bet would bet would be to target the dns_sd.h API. Under Linux, the implementation of this interface is provided by Avahi, which claims to…
acfoltzer
  • 5,550
  • 29
  • 48
5
votes
0 answers

How to resolve addresses and port information from an NWEndpoint.service enum case (if possible)

Currently I'm using NetServiceBrowser to find Bonjour services and to resolve corresponding addresses and port. Looking to de-complicate my code I stumbled upon NWBrowser which seems to provide a very simple interface to deal with the Bonjour…
Ruurd Adema
  • 621
  • 5
  • 12
5
votes
4 answers

Not able to browse the mdns service created in esp8266

What I done till now is I created mdns service in my nodemcu ... // code used to create the mdns service if (mdns.begin("esp", WiFi.localIP())) Serial.println("MDNS responder started"); server.begin(); …
Sachin
  • 2,257
  • 1
  • 14
  • 30
4
votes
2 answers

dns-sd: how to manually register a remote service

I have a service on another remote system which is on another physical network and its multicast packages don't get to my local system, thus I don't see its DNS-SD published services. I there a way I can manually register it on my local machine so…
Albert
  • 57,395
  • 54
  • 209
  • 347
4
votes
1 answer

How to install the dns-sd command line test tool on Windows or Linux?

The book Zero Configuration Networking - The Definite Guide by Stuart Cheshire and Daniel H. Steinberg from 2005 describes a dns-sd command line test tool which should be available for macOS, Windows and Linux. At the beginning of chapter 6 (p. 92)…
Vega180
  • 525
  • 1
  • 4
  • 15
4
votes
0 answers

Unregister DNS-SD service on Windows.Networking.ServiceDiscovery.Dnssd API

I can register a DNS-SD service correctly but i'am not able to unregister a DNS-SD service from the local network . I've tried using Dispose() method to close the StreamSocketListener, but doesn't work . Code of method to register the service is…
1
2 3 4 5 6 7