mDNS (Multicast DNS) is a way of using familiar DNS programming interfaces, packet formats and operating, in a small network where no conventional DNS server has been installed.
Questions tagged [mdns]
103 questions
36
votes
2 answers
Why do some WiFi routers block multicast packets going from wired to wireless?
I have worked with dozens of consumer grade WiFi routers, and they have been really hit-or-miss with this, though it seems to be getting better.
Example of issue:
A device that can be discovered with mDNS is connected into the router with a cable.…
hooby3dfx
- 478
- 1
- 4
- 9
35
votes
2 answers
How to enable mDNS on Windows 10 build 17134?
I am looking for a way to resolve .local addresses in Windows 10.
Windows itself also includes mDNS support, but that appears to only be available for Modern API applications.
In the past, the advice has always been to install Apple's Bonjour, for…
Kevin Keane
- 1,100
15
votes
3 answers
PC version of Google Chrome doesn't recognize ".local" domain name
With Bonjour installed in PC, I can access my server in Mac with ".local". For example, I can access my mac with the name "prosseek.local".
The problem is that in Chrome for PC, it doesn't recognize "local" to open search page instead of accessing…
prosseek
- 6,054
11
votes
2 answers
Getting Chromecast to work across subnets
I know Google says its not supported.
Has anyone got a Chromecast to talk to a client on a different subnet?
I have an OpenWRT router connected to my internet providers router (parent router).
The OpenWRT network is a different subnet and handles…
Adam Mills
- 221
8
votes
0 answers
Configuring unbound to resolve resolve on mdns
I am trying to set up my own home DNS server, partly to allow computers without avahi/Bonjour to resolve .local addresses. (e. g. unrooted Androids) I am trying to use unbound for this. Since I know that dig hostname.local @224.0.0.251 -p 5353 works…
dratini0
- 81
8
votes
2 answers
How can I perform an mDNS lookup on Windows?
Background
I have a device plugged into my Windows PC via Ethernet. The device is running an mDNS service and has its own hostname (gp800-49d1a).
From WSL, I can ping gp800-49d1a with success, and I can nslookup gp800-49d1a with the following…
nullromo
- 513
8
votes
5 answers
Wireless router that supports Bonjour between wire- and wireless- connected machines
At home I have an ADSL modem that I use also as router. For the record, it is a DavoLink DV-2020 provided by Tele2 in the Netherlands. It turns out that if a computer is connected with a cable to the router and another computer is connected…
cefstat
- 235
7
votes
1 answer
Broadcast mDNS for another device
I have a custom/experimental device (D) on my home LAN with a static IP running an HTTP server. For reasons that are not important to this question, (D) cannot run mDNS. I have another full-fledged Ubuntu Server (S) on the same LAN*. I would like…
kabZX
- 871
7
votes
1 answer
How do I get mDNS (avahi) to work on Windows Subsystem for Linux?
I've followed the last example in this thread:
https://github.com/Microsoft/WSL/issues/384
In other words:
~$ sudo service dbus start
* Starting system message bus dbus …
Andreas
- 674
- 3
- 11
- 33
7
votes
2 answers
Resolving `.local` name (mDNS only)
I have a home network set up using mDNS, containing assorted systems (including an always-on Raspberry Pi). My machines are running avahi daemons, so the current situation is:
everybody on the network can resolve host.local names.
What I want in…
Circonflexe
- 191
6
votes
1 answer
How to continually run mDNS on Windows 10?
I'm facing issues enabling mDNS in Windows 10.
I've implemented the solution provided in this question and it works, but after running PC 24 hrs it vanishes and Bonjour Services can't find any mDNS locals:
A graphic of a blank BonjourServices…
Hamza Hajeir
- 163
6
votes
1 answer
Installing mDNS resolver in Bash on Windows Subsystem for Linux
I am trying to connect to a PC over mDNS from a Bash script running on Windows. While I am able to ping the PC through its mDNS .local address in CMD, doing the same in an Ubuntu/Bash window fails due to a hostname resolution issue.
When I try to…
Wasabi Fan
- 360
5
votes
2 answers
Repeating mDNS/Bonjour requests from eth0 through a tunnel (tun0)
To start off, I am quite new at both networking and Unix/Ubuntu/Linux distros. Just a warning, for any setup/code may look a bit ugly.
Basically, my end goal is to successfully AirPlay Mirror to a remote Ubuntu server from my iPhone on a different…
Pyrology
- 53
5
votes
2 answers
Why do mDNS packets reach my device with a subnet mask of 255.255.255.255?
I would think using a subnet mask of 255.255.255.255 would insulate my device from other devices on the local network, but I still receive all of their mDNS messages even though they should be on a different network segment due to the mask.
Patrick Dark
- 300
5
votes
0 answers
avahi-daemon stops randomly on Raspberry Pi 4
I have a fresh installation of Raspberry OS on a Raspberry Pi 4. Avahi is running and can be queried by other hosts. The problem is that after "some time" (1 minute, sometimes 5) it stops to answer any query. Restarting avahi immediately solves the…
lbedogni
- 161