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.

Multicast DNS (mDNS) protocol provides zero-configuration service for resolving host names in small networks. By default, mDNS uses and resolves .local top level domains.

distributions often provide mDNS services using . Applications resolve host names on systems using Name Service Switch mechanism.

38 questions
21
votes
3 answers

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 psql. I think stuff like Network Manager has…
TPPZ
  • 455
  • 1
  • 6
  • 14
18
votes
5 answers

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 server on a 10.0.0.0/16 network for the new server to…
Duke Dougal
  • 965
  • 3
  • 16
  • 27
17
votes
2 answers

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 /etc/hosts, as well as regular DNS. So that rules…
user31708
  • 347
  • 1
  • 3
  • 6
14
votes
3 answers

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 interface of different applications with nginx. Is it…
larzz11
  • 343
  • 2
  • 8
10
votes
1 answer

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 docker run -it --rm -v…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
6
votes
0 answers

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 Network local + eno1 IPv6 PC2 …
sila_user
  • 61
  • 3
6
votes
2 answers

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 Link-Local fe80:: addresses and public 2a00::…
Philip Couling
  • 17,591
  • 5
  • 42
  • 82
6
votes
2 answers

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 on the firewall as well as UDP port 5353…
mdns
  • 61
  • 2
4
votes
0 answers

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 OpenBSD 7.1 machines can publish their host…
Kusalananda
  • 320,670
  • 36
  • 633
  • 936
3
votes
1 answer

Domain names ending with .local not resolved

I have a strange problem resolving .local hosts on my linux (ubuntu) desktop. (I noticed that because my printer stops working. I figured out that the IP address of the printer is resolved using mdns which isn't working.) Then I tried to ping an…
Sven K.
  • 41
  • 3
3
votes
2 answers

Why does getent default to .station if no TLD is specified?

With my current setup, I have a dnsmasq instance operating on my home server (Void Linux) and 3 GNU/Linux devices that use it as default dns (1 Manjaro, 1 Arch, 1 Linux Mint 20.1). Due to seemingly unrelated issues, I was testing the mdns name…
Mek101
  • 43
  • 4
3
votes
0 answers

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 when my device doesn't receive an IP address? I…
2
votes
1 answer

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 Firefox all send out the required mDNS packages, which I…
2
votes
1 answer

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 mDNS. I am the proud holder of three work…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
2
votes
2 answers

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 machines show up in avahi-browse and…
Darwin von Corax
  • 277
  • 1
  • 3
  • 12
1
2 3