Missing support of mDNS

Bug #1830507 reported by piktogramm
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Netplan
Won't Fix
Wishlist
Unassigned
netplan.io (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Version: 0.97-0ubuntu1~18.04.1 and 0.97-0ubuntu1~19.04.1

Resolving .local addresses with mDNS (MulticastDNS) is supported by resolved / networkd while netplan doesn't allow to configure this (or it isn't documented, which would be equally bad...).

Therefore please include mDNS capabilities!

Enabling mDNS should require enabling it globally(/etc/systemd/resolve.conf)
MulticastDNS=no/yes/resolve

and additional per device in the device specific .network file:
[Network]
MulticastDNS=true/false/resolve

Tags: fr-1793
piktogramm (piktogramm)
description: updated
piktogramm (piktogramm)
description: updated
piktogramm (piktogramm)
summary: - Missing support mDNS
+ Missing support of mDNS
Revision history for this message
DanyChen (danychen) wrote :

I have this problem too, netplan has so many ancient bugs that are still open, I don't know why ubuntu integrate netplan, why don't make cloud-init just write networkd config files.

Revision history for this message
Santiago Hurtado (s-hurtad) wrote :

I have the same issue

DanyChen (danychen)
Changed in netplan:
status: New → Fix Released
Revision history for this message
Adriano dos Santos Fernandes (adrianosf-gmail) wrote :

How is this "fix released"?

I'm seeing not about it in the documentation.

Revision history for this message
Pierrick brun (pierrickbrun) wrote :

It looks like it is not fixed, I see not result on github if I search for "mdns", "multicast" or "multicastDNS".

In any case it is not documented and I did not find any way to do it, even when looking at the code.

For instance: https://github.com/canonical/netplan/search?q=mdns

Lukas Märdian (slyon)
Changed in netplan:
status: Fix Released → New
Revision history for this message
Tom Reynolds (tomreyn) wrote :

Based on earlier comments, this seems to affect Ubuntu, too, not just upstream netplan.

Revision history for this message
Lukas Märdian (slyon) wrote :

This is a feature request, so I marked it as "Wishlist".

Changed in netplan:
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netplan.io (Ubuntu):
status: New → Confirmed
Revision history for this message
Lukas Märdian (slyon) wrote :

Some work is being proposed here: https://github.com/canonical/netplan/pull/237

Changed in netplan:
status: New → In Progress
Lukas Märdian (slyon)
tags: added: fr-1793
Revision history for this message
Lukas Märdian (slyon) wrote :
Lukas Märdian (slyon)
Changed in netplan:
status: In Progress → Triaged
Revision history for this message
Lukas Märdian (slyon) wrote :

The suggested change from the email landed in systemd-resolved 253 (Mantic): https://launchpad.net/ubuntu/+source/systemd/253.5-1ubuntu1

So it's easier to adopt Netplan's configuration using systemd override configs, e.g.:

$ cat /etc/systemd/network/10-netplan-eth0.network.d/override.conf
[Network]
MulticastDNS=resolve

For all common usecases, it's suggested to use Avahi instead of Netplan/systemd-resolved, to manage the mDNS needs.

Changed in netplan.io (Ubuntu):
status: Confirmed → Won't Fix
Changed in netplan:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.