[Pkg-utopia-maintainers] Bug#960942: Bug#960942: network-manager: only (undocumented) numeric values work for connection.mdns
Michael Biebl
biebl at debian.org
Mon May 18 17:53:32 BST 2020
Am 18.05.20 um 18:02 schrieb David Bremner:
> Package: network-manager
> Version: 1.24.0-1
> Severity: normal
>
> In order to get MulticastDNS working with nm and systemd-resolved, I had to set
>
> connection.mdns=1 # for 'resolve'
> connection.mdns=2 # for 'yes'
>
> I'm not sure if I missed something about the config file format. From
> the documentation it seemed that
Which documentation?
> connection.mdns=yes
>
> should work, but it did not (i.e. resolvectl status did not show MDNS
> enabled, and resolvectl query foo.local fails)
man 5 nm-settings [1] has
> │mdns │ int32 │ -1 │ Whether mDNS is enabled for │
> │ │ │ │ the connection. The permitted │
> │ │ │ │ values are: "yes" (2) │
> │ │ │ │ register hostname and │
> │ │ │ │ resolving for the connection, │
> │ │ │ │ "no" (0) disable mDNS for the │
> │ │ │ │ interface, "resolve" (1) do │
> │ │ │ │ not register hostname but │
> │ │ │ │ allow resolving of mDNS host │
> │ │ │ │ names and "default" (-1) to │
> │ │ │ │ allow lookup of a global │
> │ │ │ │ default in │
> │ │ │ │ NetworkManager.conf. If │
> │ │ │ │ unspecified, "default" │
> │ │ │ │ ultimately depends on the DNS │
> │ │ │ │ plugin (which for │
> │ │ │ │ systemd-resolved currently │
> │ │ │ │ means "no"). This feature │
> │ │ │ │ requires a plugin which │
> │ │ │ │ supports mDNS. Otherwise the │
> │ │ │ │ setting has no effect. One │
> │ │ │ │ such plugin is │
> │ │ │ │ dns-systemd-resolved.
which seems consistent with what you did.
[1]
https://manpages.debian.org/buster/network-manager/nm-settings.5.en.html
unfortunately has broken formatting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20200518/f5dd261b/attachment.sig>
More information about the Pkg-utopia-maintainers
mailing list