You are not logged in.

#1 2018-08-04 04:30:33

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 307

nss-mdns upgrade

When upgrading nss-mdns the other day, I got this:

upgrading nss-mdns 
==> Please note that due to security reasons from version 0.9 on the 
    minimal mDNS stack included in nss-mdns (dubbed "legacy") is no 
    longer built - nss-mdns will not work unless Avahi is running.
==> To enable IPv4 multicast DNS lookups, append 'mdns4' to the hosts line
    in /etc/nsswitch.conf. Use 'mdns6' for IPv6 or 'mdns' for both.

Trying to reconcile with what the wiki [1] currently says:

Avahi provides local hostname resolution using a "hostname.local" naming scheme. To enable it, install the nss-mdns package and start avahi-daemon.service.

Then, edit the file /etc/nsswitch.conf and change the hosts line to include mdns_minimal [NOTFOUND=return] before resolve and dns:

hosts: ... mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns ...

Should this be changed to

hosts: ... mdns [NOTFOUND=return] resolve [!UNAVAIL=return] dns ...

? Not being certain, I figured I ask instead of either making changes to my systems or the wiki ...

[1] https://wiki.archlinux.org/index.php/Avahi

Offline

#2 2018-08-04 09:47:14

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 718

Re: nss-mdns upgrade

"minimal mDNS stack included in nss-mdns" is not related to "mdns_minimal".
The message simply says that nss-mdns relies on Avahi for mDNS instead of using an internal mDNS implementation.

Offline

Board footer

Powered by FluxBB