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
5
votes
2 answers

DNS-SD: Experience with "mdnsjava"?

I'm right now implementing the DNS-DS library "mdnsjava" into my Android-project as it's mentioned at several positions, for example here at SO: Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?. While implementing, I wonder…
Martin L.
  • 3,006
  • 6
  • 36
  • 60
5
votes
1 answer

How to change android device name used by NsdManager?

I am using NsdManager to register a web service on the local network. My problem is that the device name is called "android", so I can access the phone as "android.local" from my laptop. How can I change that name? I would like something more…
Pal Szasz
  • 2,954
  • 3
  • 20
  • 18
4
votes
0 answers

Regarding mDNS observations on Wireshark

I am a beginner here, would like to clarify a few things. I have a server (OPC UA) running on my system, and the specification says it is announcing itself on the local link using DNS SRV records. On doing some research, I figured that mDNS is used…
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…
3
votes
1 answer

avahi: broadcast that my service has updated information

I have an avahi (zeroconf, dnssd, bonjour) service. I want the service to be able to notify the clients when it has new data so the clients can then connect and query for the updated information. What type of message should the service publish, and…
Poul
  • 3,426
  • 5
  • 37
  • 43
3
votes
0 answers

Running Avahi Docker linux container in windows

I wanted to make a cross-platform solution for a DNS-sd client. I've chose to use Avahi in Linux and then maybe in a docker container in windows (for some reason, solutions like Bonjour are not fit for my purpose. Since Avahi needs to call the …
Fezo
  • 183
  • 2
  • 14
3
votes
3 answers

How can I implement DNS - Service Discovery in Unity3D similar to Bonjour browser

I want to implement a service discovery module to fetch the IP address of a service broadcasting device, similar to the bonjour browser. Is it possible to implement it in Unity3D(Android/iOS). Can anyone guide me on how can I achieve it. A small…
3
votes
1 answer

Android NSD : Registration of service is not happening on emulator

I want to register a NSD service through the emulator app. The emulator is running on my linux ubuntu machine connected to my local network. I followed the instructions as listed here. I am able to register the service when I run the app on my…
Codelearner
  • 241
  • 2
  • 3
  • 16
3
votes
2 answers

Find IP adresses and ports of devices connected to the same network

I'm building an application for iOS and Android in angular/cordova where I want to find the IP and port of a certain device on my local network (dynamically), to be able to send post requests and talk to it through its API. The API says that I…
novalain
  • 2,181
  • 19
  • 36
3
votes
1 answer

Avahi DNS-SD on multiple IP addresses

Background: I'm trying to communicate with an IP camera without the need of a DHCP server. This is how the camera acquires an IP address: Basic DHCP procedure (discover etc.) If above should fail the camera has a fallback address of…
Mazze
  • 1,354
  • 4
  • 17
  • 35
3
votes
1 answer

Get Link-Local Domain Name from IP Address (i.e. Reverse DNS Lookup with Multicast DNS & DNS-SD)

I have a server application running on a device on the LAN that is discoverable via DNS-SD (i.e. Zeroconf/Bonjour/Avahi). Client devices, also on the LAN, connect to this server. I have no control over what application is used to connect to my…
BigMacAttack
  • 4,479
  • 3
  • 30
  • 39
3
votes
0 answers

Bonjour java: Finding the address of a service that belongs to a specific network interface

I'm trying to find the address that matches a resolved Bonjour service that is registered to a specific network interface. DNSSD gives me the hostname and the network interface index of a service: ifIndex. If the host has multiple network…
Mattijs
  • 1,909
  • 3
  • 19
  • 28
2
votes
1 answer

Referring to DNSSDObjects in dns_sd.h and DNSServiceResolve in MonoTouch

I want to add reference to DNSSDObjects to a project in MonoTouch, specifically DNSServiceResolve object. I want to access DNSServiceResolve in a MonoTouch project but cant find that class anywhere. How can that be done ?
James Roeiter
  • 861
  • 1
  • 9
  • 23
2
votes
1 answer

in `browse': private method `new' called for DNSSD::Service:Class (NoMethodError)

I was browsing GitHub and came across https://github.com/PeterCrozier/AirPrint and tried it out. It was written a few years ago so may be for an older version of ruby. I'm on macOS Big Sur 11.1 with ruby 2.6.3p62 (2019-04-16 revision 67580)…
zenjim
  • 23
  • 3
2
votes
0 answers

Is there any way to get the list of connected scanners from a client side LAN (Using Javascript) in an MVC application?

We are working on an MVC application to scan the document from a twain direct based scanner which is installed in a LAN. For the discovery of connected scanners, we are using Bonjour which exposes the list of scanners. The scanner (twain direct)…