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.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

mDNS instead of IP in /etc/hosts?

I have a laptop that I want to communicate with from my other PC. Sometimes I need to connect with this laptop for various tasks (ssh, scp, ping, to reach some locally hosted website, etc. - dev stuff ...
0
votes
0answers
15 views

LLMNR persistence across reboots?

I currently manage a homelab server that hosts several containers (systemd-nspawn, all using systemd-networkd for networking). These containers interact with each other over the container network and ...
0
votes
1answer
73 views

intermittent mDNS resolution

I have a Raspberry Pi configured with mDNS that is connected to my home LAN (WiFi). I can ssh into it using sshpass -p raspberry ssh pi@raspberrypi.local only some times. The problem seems ...
1
vote
0answers
24 views

How to avoid IP collisions of RNDIS devices?

Scenario is like this: I have a couple of devices using autoip and mdns over rndis (ethernet over USB) to connect to a host: You connect them with usb, the PC detects an rndis device, both ends choose ...
0
votes
2answers
28 views

How to connect to libvirt VMs by name, instead of IP address

I want to connect to my libvirt virtual machines by name. I used to be able to do that - is it just not possible any more? I don't really want to muck around with extra manual configuration for each ...
1
vote
0answers
76 views

systemd-resolved browse for mdns services

Can systemd-resolved be used to browse for mdns services the same way like avahi-browse? For example: $ avahi-browse _smb._tcp + eno1 IPv6 PC1 Microsoft Windows ...
1
vote
0answers
36 views

How to configure avahi/nss_mdns to append .domain when using short names

I have environment with 2 or more servers (Ubuntu 18.04) each running avahi-daemon. Avahi configuration file looks like: [server] host-name=n11 domain-name=alocal browse-domains=alocal use-ipv4=yes ...
3
votes
2answers
1k views

How to enable mDNS for IPv6 on Ubuntu and Debian?

Something I've noticed on all my home machines is that none of them can resolve .local addresses for IPv6. This seems odd because they can resolve them for IPv4 and all of my home machines have both ...
-1
votes
2answers
93 views

MDNS multi-cast DNS and resolv.conf file

Can a MDNS ( multicast dns ) issue cause duplicate lines in the resolv.conf file? For example , we have the following resolv.conf file more /etc/resolv.conf search coronplesdf.hh.com server 108.16.1....
1
vote
1answer
163 views

Can't find Ricoh All-in-One machines' scanners over network with Vuescan

I'm trying to access the scanner functionality of some Ricoh All-in-One printers from a workstation with Debian Stretch using Vuescan, but none of the means I've used can find any of them: neither ...
1
vote
0answers
69 views

Linux virtual network for experimenting with zeroconf networking

As a learning experience, I would implement simple versions of the services that allow zero configuration networking to take place: Claiming a link-local IP address from the 169.254/16 subnet ...
2
votes
1answer
976 views

SSH is unable to resolve local domain names

I'm trying to connect to several computers via their hostnames since they get their IP via DHCP. I can successfully ping the machines via ping host-01.local. ping, wget, avahi-resolve and even ...
1
vote
0answers
371 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
421 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 ...
3
votes
1answer
893 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 ...
9
votes
4answers
13k 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 ...
13
votes
3answers
34k 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
580 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 ...
11
votes
2answers
6k 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
381 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-...
2
votes
0answers
507 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
17 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
1answer
328 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
5k 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 ...
7
votes
2answers
6k 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 ...
9
votes
1answer
6k 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 ...