On 17/06/2025 00:03, Uroš Mikanovič wrote:
`host -t SOA local` returns:
local has SOA record local. nobody.invalid. 1 3600 1200 604800 10800
It is either from your router or from your ISP. Try to add an ISP DNS
server address to the "host" command. You may try to adjust dnsmasq
configuration (started by NetworkManager).
**Anyway.** I amended `/etc/nsswitch.conf` hosts line to this:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Currently I do not have libnss-mdns and its README installed, but I
expect it may recommend something like
hosts: files mdns4 [NOTFOUND=return] dns
to avoid wasting time for unicast DNS queries for every .local host
before multicast request. That may work if you know that .local is not
used in any LAN you can connect you machine to.
I am still interested in what in my setup clashes with the way Debian
configures `nsswitch.conf` by default.
It tries to be on the safe side. .local zone was not uncommon for LAN
for some period of time. On the other hand, ISP may try to protect
upstream DNS servers from .local queries contributing to mess with this
domain.