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.

96 questions
1
vote
0 answers

Is there any reliable way to discover microcontroler in LAN in iOS / Android / Windows / Linux / macOS?

I am trying to expose ESP8266 to be available both when working as access point and while connected to the wireless local network (use case would be: is user leaves home with the device - it starts broadcasting its own AP, when at home it connects…
M. Stefański
  • 319
  • 2
  • 8
1
vote
2 answers

DNS-SD on client-side javascript

Is it possible to discover services using DNS-SD on client side using some JS library (so to discover services on client's local network)? I found a lot of libraries on npmjs.com, but they all work on Node.js, not on client-side JS.
Kamil Zaripov
  • 904
  • 11
  • 33
1
vote
0 answers

Service Discovery dies after wifi disconnect / reconnect

why does losing a wifi connection or using flight mode break service discovery until power cycling the adapter or rebooting? Steps to recreate issue : Run Dns-sd -B "_services._dns-sd._udp.local." ~Returns all Services Turn on Flight Mode Discovered…
NiteHawk
  • 11
  • 2
1
vote
0 answers

Why does 'DNSServiceRegisterRecord' not return reference, if there are many ip addresses on the adapter?

I am registering about 80 ip addresses on my router, creating udp sockets, and want to do Bonjour registration for each ip. But the registrations are extremely slow, or failing in presence of so many ips.Registrations are successful when there are…
Mihir Bose
  • 11
  • 3
1
vote
1 answer

How to query TXT and SRV records from Windows?

I am attempting to query a set of SRV records using the naked host name (e.g. _service._proto) however this fails unless I also include the domain name. This is strange because other tools such as nslookup work fine and also using the same API call…
Robert Jordan
  • 1,053
  • 1
  • 10
  • 17
1
vote
1 answer

Android NSD: registration with null service type

The result of the registration shouldn't be empty, this is what I get from logcat and the callback of successful registration. registerService 46518 onServiceRegistered name: mytest, type: null, host: null, port: 0, txtRecord: Everything is…
user3290180
  • 4,260
  • 9
  • 42
  • 77
1
vote
0 answers

What's the strategy of DNS-SD services responding to mDNS query?

I am trying to gather some information of devices connected on the wifi with DNS-SD. When I use dns-sd -B _services._dns-sd._udp (OS X)/avahi-browse -t _services._dns-sd._udp(Linux) repeatedly to observe the published services, I get more or less…
jfly
  • 7,715
  • 3
  • 35
  • 65
1
vote
1 answer

Bridge Android Emulator to host for mDNS service discovery

I created a service on an Adroid TV and I'm currently trying to discover that service from another device using mDSN Service Discovery protocol. When I put the Discovery app on a 2nd device, it was able to detect the service on the 1st TV just fine.…
Giang Pham
  • 41
  • 5
1
vote
2 answers

Service discovery using dns-sd

I have a device which is configured in station mode. Device is connected to a smart phone over hotspot provided by smartphone. Device needs to search for a service published by an application on smartphone say _abc._tcp. I am using the command…
Daemon
  • 1,575
  • 1
  • 17
  • 37
1
vote
0 answers

Apple Bonjour service bound to localhost

I have a TCP socket bound to 127.0.0.1, and I want to make it available as a service on the local machine. The problem however is that Bonjour uses the DHCP address instead of localhost, even with kDNSServiceInterfaceIndexLocalOnly set as the…
Rick de Water
  • 2,388
  • 3
  • 19
  • 37
1
vote
1 answer

DnssdServiceInstance is never removed from network

I am using the Windows.Networking.ServiceDiscovery.Dnssd API in a UWP project to register a DnssdServiceInstance to broadcast around the network using the following code: //Service Broadcast _listener = new StreamSocketListener(); …
WJM
  • 1,137
  • 1
  • 15
  • 30
1
vote
0 answers

DnssdServiceInstance is created more than once

I am using the DNSSD API's in a UWP application. When I want to broadcast a DNSSD service using DnssdServiceInstance, it seems that multiple instances are created, even though I call the method only once: //Service Broadcast …
WJM
  • 1,137
  • 1
  • 15
  • 30
1
vote
1 answer

Ruby and Bonjour

I am new to ruby and its library, but how do i combine DNSSD and TCPServer together? I know i can register DNSSD service via registration = DNSSD.register("My Files", hostname, "local.", port) And I can create a DNSSD service for my TCPServer…
perwyl
  • 323
  • 3
  • 14
1
vote
1 answer

Enumerating IPP Printers

I'm looking into DNS based service discovery in Windows 10 and found this video from Build. The only change I made to discovery was changing the service name to "_ipp._tcp". However I don't get any hits even though I know I have > 15 IPP enabled…
earthling
  • 5,084
  • 9
  • 46
  • 90
1
vote
1 answer

Automatic discovery of ZMQ brokers

I have the following problem: There is a group of ZMQ-based brokers in the cloud. These would be operated in a Amazon VPC, using a certain IP range. There are also client apps, these are running on all kinda hosts, and can be located anywhere in the…
user2297996
  • 1,382
  • 3
  • 18
  • 28