Sorry for being off-line for so long and thanks everyone for assisting!
I did not have the systemd-resolved
rpm installed initially. I then tried installing it. No change. If I understand correctly than MulticastDNS should already default to yes, but tried setting it explicitly (see below) but still no change.
$ sudo systemd-analyze cat-config systemd/resolved.conf
# /etc/systemd/resolved.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under t>
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" >
# the /etc/systemd/resolved.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full >
#
# See resolved.conf(5) for details.
[Resolve]
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:
# Cloudflare: 1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com 2606:4700>
# Google: 8.8.8.8#dns.google 8.8.4.4#dns.google 2001:4860:4860::8888#dns.>
# Quad9: 9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe>
#DNS=
#FallbackDNS=
#Domains=
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=yes
#LLMNR=yes
#Cache=yes
#CacheFromLocalhost=no
#DNSStubListener=yes
#DNSStubListenerExtra=
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no
#StaleRetentionSec=0
MulticastDNS=yes
Ports:
tumbler:~ $ sudo ss -lnup
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
UNCONN 0 0 0.0.0.0:50838 0.0.0.0:* users:(("avahi-daemon",pid=904,fd=13))
UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=1147,fd=5))
UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("avahi-daemon",pid=904,fd=11))
UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=1147,fd=6))
UNCONN 0 0 [::]:54476 [::]:* users:(("avahi-daemon",pid=904,fd=14))
UNCONN 0 0 [::]:5353 [::]:* users:(("avahi-daemon",pid=904,fd=12))
hosts in /etc/nsswitch.conf
(also tried e.g. mdns_minimal and other variants):
hosts: files mdns4 [NOTFOUND=return] dns
hosts in /usr/etc/nsswitch.conf
was
hosts: files dns
Adding mdns4 did not help either.
Another strange thing: I can’t even ping my own hostname without .local
:
$ hostname
tumbler
$ ping tumbler
ping: tumbler: Name or service not known
Other internet hosts works. A mac on the network can ping tumbler.local
I feel very lost right now! What resolver did I have before and did I know switch to a different one by installing the systemd-resolved
rpm?