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)
Questions tagged [mdns]
282 questions
48
votes
3 answers
what is the multicast doing on 224.0.0.251?
On my debian server (squeeze) I get this message every few seconds:
Sep 18 21:28:14 myhost kernel: [7903784.720091] AIF:UNPRIV connect
attempt: IN=eth0 OUT= MAC= SRC=my_serverip_eth0 DST=224.0.0.251
LEN=72 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF…

rubo77
- 19,527
- 31
- 134
- 226
32
votes
6 answers
Standard mDNS service on Windows
Does Windows (some modern flavour) have an mDNS server installed and/or running by default? If so then how does one tell it, preferably dynamically, to start/stop advertising a new service?
If there is no standard then how does one deal with the…

awy
- 5,271
- 5
- 23
- 28
30
votes
3 answers
How to route all subdomains to a single host using mDNS?
I have a development webserver hosting as "myhost.local" which is found using Bonjour/mDNS. The server is running avahi-daemon.
The webserver also wants to handle any subdomains of itself. Eg "cat.myhost.local" and "dog.myhost.local" and…

John Mee
- 50,179
- 34
- 152
- 186
25
votes
1 answer
Is Android NSD (Network Service Discovery) compatible with Bonjour service in iOS?
I will create a server-less local networking App for iOS and Android. the App in both iOS and Android devices should find out and talk to each other.
I know that there are platform built-in services (which are Bonjour in iOS and NSD in Android since…

Henry Leu
- 2,184
- 4
- 22
- 34
21
votes
2 answers
How do I advertise AND browse mDNS from within docker container?
I'm trying to create a ubuntu 17.04 based docker container that can browse mDNS on my network (outside of the docker network) AND advertise on mDNS to my network (outside of docker network).
I want to be able to run this docker container on a macOS…

rynop
- 50,086
- 26
- 101
- 112
20
votes
1 answer
discover iOS device name using mDNS
I notice that some of the better network discovery apps like Fing for iOS and iNet for Mac are able to discover the device name of iOS devices and Mac devices even when they are not advertising Bonjour services such as iTunes Wi-Fi Sync. How is…

John Wright
- 2,418
- 4
- 29
- 34
20
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
- 860
- 4
- 9
- 17
19
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
- 323
- 2
- 8
19
votes
2 answers
Android - jmdns doesn't discover devices
I'm trying to implement a class to discover services on the network.
I've tried working with Android's NSD and it does discover the services fine, but it supports only API levels 16 and up, and I can't seem to retrieve the txtRecord field within the…

orenk86
- 720
- 9
- 24
16
votes
2 answers
Avahi Hostname Resolution: Is it caching somewhere?
I am using Fedora 18 with the avahi command line tools (version 0.6.31)
I use avahi-resolve-host-name to discover the IP address of units on my subnet, for testing purposes during development. I monitor the request and response with Wireshark. …

trh178
- 11,228
- 5
- 28
- 37
14
votes
2 answers
Could I use avahi to publish service across subnetworks?
Avahi is usually used for service discovery. I want to make a service discoverable from a different subnetwork, could I use avahi to achieve this?
For example, the service host ip is "192.168.1.100" with mask "255.255.255.0", so it's in 192.168.1.X…

bertyuan
- 183
- 1
- 1
- 10
13
votes
2 answers
LLMNR on Windows vs. Zeroconf vs. Bonjour
Link-Local Multicast Name Resolution (LLMNR) is a Microsoft tech for service discovery based on multicast DNS. Is it compatible with Bonjour/Zeroconf? If so, where's the API? The service discovery, I take it, is somehow rolled into vanilla DNS…

Seva Alekseyev
- 59,826
- 25
- 160
- 281
10
votes
2 answers
Raspberry PI mdns getaddrinfo 3008 error
I've this sample Node.js script:
var mdns = require('mdns');
var browser = mdns.createBrowser(mdns.tcp('http'));
browser.on('error', function (error) {
console.log("error");
console.log(error);
});
browser.on('serviceUp', function (service)…

dhrm
- 14,335
- 34
- 117
- 183
9
votes
0 answers
iMac with mdnsresponder keeps waking up
I am trying to figure out why my iMac 2011 wakes up so frequently (every ~2 min)
If anyone can help, I would be really greatful.
Here is my pmset log:
2017-05-03 22:14:31 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance…

ageorgios
- 323
- 2
- 7
9
votes
2 answers
How can I query .local bonjour DNS entries?
It's pretty straightforward to query out the guts of a DNS-SD entry via dig by asking your nameserver directly; but for multicast DNS, I'm not sure where to look.
Edit: My motivation is to be able to see example DNS entries so that I can better…

Nevir
- 7,951
- 4
- 41
- 50