Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mdns]

Multicast DNS (mDNS) protocol provides zero-configuration service for resolving host names in small networks. Use the [tag:mdns] tag when you are troubleshooting mDNS issues or are trying to understand mDNS's involvement in your situation.

1
vote
0answers
173 views

How does avahi enable mDNS and expose it via LAN with ipv6 compared to Apple's mDNSResponder?

I'm using a device with Linux 4.9 and systemd-networkd. With ipv4 everything is ok, so I want to talk only of ipv6. In fact, I completely disabled ipv4 to use ipv6 with DHCP. So this is my initial ...
2
votes
0answers
103 views

How to configure ipv4 Link-Local on Linux with systemd-networkd without violating RFC3927 specifications?

I'm using an embedded device with Linux 4.9 and systemd. I configured systemd-networkd in this way: [Match] Name=eth0 [Network] DHCP=v4 [DHCPv4] UseHostname=false How can I setup Link-Local only ...
1
vote
1answer
226 views

Debugging mDNS with Avahi across Linux and macOS

I have a network of elementary Loki (Ubuntu 16.04) computers at home which work great and can be accessed over mDNS/Avahi. ping juggernaut.local works as expected, and I can reach hosts both ways over ...
4
votes
3answers
3k views

How to configure systemd-resolved for mdns multicast dns on local network?

Ubuntu 18 I've done a ton of research and am close to pulling this picture together but can't quite understand: How can I configure systemd-resolved for mdns? My goal specifically: to bring up a ...
4
votes
3answers
7k views

Can not resolve .local domains internal to my office LAN

On Linux Debian 9 I am able to resolve a specific local domain e.g. my.sample-domain.local using some commands like nslookup or host, but not with some other commands like ping or the Postgres client ...
1
vote
1answer
246 views

Suppress “Name or service not known” on ping

I have several Raspberry Pi's named numerically (pi0, pi1, etc). They have static IP addresses, but I wanted a simple tool to check on them and make sure they were online even if they got the wrong IP ...
9
votes
1answer
2k views

Mac OS command to resolve hostnames like “getent” on Linux

I would like a command that will resolve a hostname to an IP address, in the same way that a normal program would resolve the hostname. In other words, it has to take into account mDNS (.local) and /...
0
votes
1answer
212 views

Reliable network client discovery (not mDNS?)

I have (Linux-based) devices on a DHCP/ IPv4 network whose UI is via browser/ mobile app (over the LAN.) The tricky part is discovery of the device's IP address. We've been trying to use mDNS/ DNS-...
3
votes
0answers
321 views

Avahi seems to stop publishing/refreshing services after a while

Firstable, I looked up to several Q/A, i can ensure that the following points are fullfiled: IGMP snooping isn't filtered by switch/router. Bonjour services (mDNSResponder.exe) is granted and allowed ...
1
vote
0answers
15 views

Any flavors with mDNS baked in?

Are there distributions of Linux that support .local address resolution out of the box? So far, I've only found distros with avahi plugins. I'd appreciate a base image with this kind of support ...
2
votes
0answers
195 views

Avahi on FreeBSD: Machine is Seen but Does Not See

I have a FreeBSD 10.3 box with Avahi 0.6.31 which is visible to the other machines on my network, but which is itself unable to resolve any names in the .local domain. That is to say, all the other ...
2
votes
1answer
3k views

How to block broadcast messages (Apple's mDNS traffic)

I am in a network and a user is sending broadcast messages on udp port 5353. Regardless of what that is and what their purpose is, I decided to block all the traffic, so I ran: sudo iptables -A INPUT ...
2
votes
2answers
4k views

Multicasting multiple mdns names

What I would like is to use avahi-daemon to multicast more then one name. So that I could connect to it with domainA.local domainB.local. I could then reroute these addresses to a different web ...
8
votes
1answer
4k views

mDNS to/from a Docker container

I've made a Docker container which runs a forked-daapd (a DAAP server publishing over mDNS with a single port 3689 for HTTP requests) and exposes the port properly to the host operating system: sudo ...