Skip to main content

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)

0 votes
0 answers
10 views

How to retrieve MAC address of specific devices discovered via SSDP and mDNS in Node.js?

I'm developing a Node.js application where I'm discovering devices on my local network using SSDP and mDNS. I have successfully implemented device discovery with the following code snippet: const SSDP ...
Web Dev's user avatar
0 votes
0 answers
95 views

`getaddrinfo` with `AF_UNSPEC` only returns IPv6 address on Windows

I'm calling getaddrinfo on Windows to query the IP address(es) of a Mac on my local network using mdns. The Mac has both IPv4 and IPv6 addresses. static struct addrinfo* transport_resolve_host(const ...
TheNextman's user avatar
  • 12.4k
-1 votes
0 answers
35 views

mdns: getent returns only ipv6 link-local address

I have 2 systemd-nspawn containers (nginx & nginx2) attached to a bridge. Both containers have resolved enabled, get an IPv4 address via DHCP & configure themselves with an IPv6 link-local ...
Jappie3's user avatar
1 vote
0 answers
57 views

React Native Zeroconf issue with resolving IP address on iOS 17+

I'm facing this issue where the MDNS cannot resolve the IP address when finding the service on a network, this is happening with iOS devices 17+, while with iOS 15 it works ok. I don't have iOS 16 to ...
Vlad's user avatar
  • 11
0 votes
1 answer
105 views

mDNS / Bonjour / UDP 5353 Port reusability

I'm wondering if there is a way to allow the device (in this case MBP - MacOS 14.4) other programs to reuse the 5353 port that bonjour uses. I'd like to also receive and listen to mDNS queries sent by ...
Programmer's user avatar
-1 votes
1 answer
110 views

UDP mDNS on MacOS using C, Rust, JVM - Packets not being received

I'll do my best to keep it short. While implementing multicast DNS protocols, I'm unable to listen to multicast DNS in either C or rust (However in JVM it works perfectly fine) I am watching network ...
Programmer's user avatar
0 votes
0 answers
28 views

JmDNS create() function not working on my device

I am getting a strange error when trying to use JmDNS and I have no idea what's causing it. If, for example, I copy-paste the example program seen on the JmDNS readme file into Eclipse and run it, the ...
user23745692's user avatar
0 votes
0 answers
38 views

Get addr and flags like IFF_UP and IFF_BROADCAST using rtnetlink

I've been using getifaddrs for getting all available local addresses (ipv4 and ipv6), to do DNS SD with. To test which addresses are up and capable to do broadcast requests, the flags set by ...
user1388973's user avatar
0 votes
0 answers
130 views

Why can't QNAP and its containers be pinged by name, while others can?

In my local network, I have set up static DNS on the MikroTik router. All devices and PCs in the network are pingable by name, and on those where it's supported, you can also access them by name in ...
DyadyaGenya's user avatar
0 votes
0 answers
82 views

Access ".local" domain name from Docker conatiner without having Avahi installed inside

The setup is: Proxmox Host, 1 Linux VM with reverse proxy in docker, 1 Linux VM with webapp in docker. Goal is to be able to access webapp from reverse proxy using avahi ".local" hostname. I ...
Dmitry Kompot's user avatar
1 vote
0 answers
106 views

Resolve mDNS in local network with javascript from https origin

My goal Ping an esp32 device which is in a local network without internet and without https. Reason I have a node js server with a PWA hosted on render.com. This server is communicating with my esp32 ...
Dr.Random's user avatar
  • 500
0 votes
0 answers
96 views

The Web Share API in JavaScript does not support sharing text along with files and URLs

I am using the Web Share API in JavaScript. When I set all four properties - title, text, URL, and files, it only shares the URL and files, excluding the text. I attempted sharing on WhatsApp, Twitter,...
Rashid's user avatar
  • 1
1 vote
0 answers
204 views

avahi unreliable service resolution

When running the avahi-browse <service_name> --resolve the browser does not find all the nodes every time or does not resolve all of them. My suspicion is that the nodes that are already cached ...
Antoni's user avatar
  • 358
0 votes
1 answer
249 views

How to Discover pairing android devices over wifi

ADB supports pairing with code over wifi. In Android Studio there is an automated discovery of devices that are in the pairing over wifi process. Is there a CLI trick to perform this discovery process?...
Haggai's user avatar
  • 464
0 votes
0 answers
382 views

How I can see a host name of my Pixel phone?

I want to access to the phone with mDNS to transfer data from my Linux computer. How I can see the phone's hostname? I have tried adb shell getprop net.hostname but nothing to show. My phone is: ...
KiYugadgeter's user avatar
  • 3,804

15 30 50 per page
1
2 3 4 5
20