Questions tagged [mdns]
Multicast DNS (mDNS) protocol provides zero-configuration service for resolving host names in small networks. Use this tag when you are troubleshooting mDNS issues or are trying to understand mDNS's involvement in your situation.
48 questions
1
vote
1
answer
68
views
How to enable the listing of Chromecast devices in the full network (mDNS): Chromecast devices are not showing in VLC or Chromium
Chromecast is working well in my home (trough multiple switches connecting different rooms) but I am unable to cast from my openSUSE Linux device. The Chromecast devices are not showing up neither in ...
0
votes
0
answers
127
views
mDNS server not discoverable when there is no internet
I'm trying to run an mDNS server on a machine, so that I can discover it from other connected machines. The connection between the machines is usually a direct manual IP connection over ethernet (e.g. ...
0
votes
1
answer
1k
views
How do you enable mDNS in Linux?
I have 2 machines on the same network. Machine 1 has hostname aaa and IP address 192.168.203.11, and machine 2 has hostname bbb and IP address 192.168.203.22.
The two machines can ping each other by ...
0
votes
1
answer
47
views
How can avahi daemon backward resolution be working while forward is not?
After a reboot of my server, I noticed the hostname wasn't resolving. I checked the firewall-cmd to see if mdns/5353/udp was open, which it was.
Then, I went to check if Avahi daemon was running, ...
0
votes
1
answer
83
views
mDNS hostname from other device gets assigned local
I have a weird issue. I have an ESP32 embedded device running an mDNS server which I assign a hostname to. For the record, i've included this code for the ESP32 device below.
When I ping this hostname ...
2
votes
1
answer
1k
views
Unable to ping mDNS hostname
I have an application which has an mDNS server running on an ESP32 device. Its hostname is esp32-mdns.local. I can ping this hostname from Windows. However, it is not possible from my Ubuntu 22.04 ...
0
votes
0
answers
141
views
Ubuntu 22.04.5: mdns resolution not working for accessing VM guest
running on "Ubuntu 22.04.5 LTS" as host (hostname blackbird) and I created a VM guest("Ubuntu 22.04.4 LTS", hostname pg1) using "Virtual Machine Manager 4.0.0" using KVM ...
0
votes
1
answer
479
views
Configure systemd-resolved to try multicast dns for `.local` names and fall back to unicast dns if multicast can't resolve
I have machines that run in all kinds of environments which aren't under my control and I need to configure them to work in all of those.
My current issue is, that some environments have a .local ...
0
votes
1
answer
3k
views
Mac/Linux command to get device name from IP address using mDNS
I need a command to get the hostname of a device on the network from the IP address, using multicast DNS. I used to use the dig command which worked perfectly on both macOS and Linux, and many ...
0
votes
1
answer
129
views
Issues with .local domains
I know from research that .local domains are a considered a very bad idea.
And yet, I am trying to use two different astronomy applications designed to run on a Raspberry Pi for which the stated ...
1
vote
1
answer
1k
views
Forward DNS request to mDNS resolution
I use mDNS (with avahi, and libnss-mdns) a lot in my home network. However, I've tried to setup Prometheus, and it simply does not care about system resolution, it just takes the name servers from /...
1
vote
0
answers
2k
views
How to fix stuck CUPS printer shared by remote
I have a server with two USB printers and multiple clients with Debian Bullseye. Clients are spread across LAN with same IP subnet and WLAN with a different subnet. The server shares both printer via ...
6
votes
1
answer
4k
views
systemd-resolved as mDNS responder
I'm creating a custom distribution where I need a DNS responder. I'm already using systemd so I would like to use systemd-resolved to manage mDNS (the device should announce itself as capable of a ...
0
votes
1
answer
752
views
Can't ping server that resolves using avahi-resolve
I have a server I've discovered from a Manjaro client using avahi named unaha-closp. However, when I ping it I get:
ping: unaha-closp.local: Name or service not known
In /etc/nsswitch.conf my hosts ...
5
votes
1
answer
2k
views
mDNS on OpenBSD; resolving names in the ".local" domain using the standard resolver
I have a collection of macOS, Ubuntu Linux, and OpenBSD systems. They use mDNS to publish their dynamic IP addresses to the local network, making themselves available under the .local domain name.
My ...