This is the situation. I have a home server that publishes multiple domains via avahi.
Avahi and resolvectl are installed on the client (ubuntu 22).
in the file
/etc/nsswitch.conf
- hosts: files mdns4_minimal [NOTFOUND=return] dns
. Which seems normal.
But,
$ avahi-resolve -n whoami.homeserver.local
whoami.homeserver.local 192.168.0.4
But when trying to resolve the address via ping or curl
$ curl whoami.homeserver.local
curl: (6) Could not resolve host: whoami.homeserver.local
UPD:
Interesing - base name homeserver.local
is correctly resolved via ping
Asked by Павел Резин
(13 rep)
Jan 15, 2024, 09:45 AM
Last activity: Feb 19, 2024, 10:19 AM
Last activity: Feb 19, 2024, 10:19 AM