You are not logged in.
I am on a relatively fresh install of Arch on a HP laptop, still trying to set up everything. At the moment I am struggling with Avahi and hostname resolution.
My system started with systemd-resolved set up according to the wiki. Then after installing KDE i realized that I probably need Avahi for network discovery to work properly, however I have issues to set it up. I have followed the Avahi wiki page and changed the configurations accordingly, but everytime i disabled systemd-resolved my networking stopped working despite avahi-daemon running. After a lot of trial and error I realized networking can run via avahi if i remove the symlink to /etc/resolv.conf initially created by systemd-resolved, however I dont like this approach, as the Avahi wiki page does not mention I should modify resolv.conf in any way.
now my resolv.conf is managed by NetworkManager, which is probably OK, since the device connect to a bunch of different networks.
with this config I can access the internet normally, however network share discovery does not work and I cant see any SMB or NFS shares in dolphin.
also I have problems with hostname resolution within my local network. the services running on the network have assigned a domain name alias on my dhcp server, so plex.mydomain.com takes me to plex. mydomain.con is set up in cloudflare DNS and points to my home IP address. however from my arch install i cant reach these local services my their hostname, even if nslookup is able to resolve them correctly and point to the correct IP address.
Hostnames within the local network that are aliased by cloudflare and are accessible from anywhere also do not work (probably because they are still resolved by the local DNS resolver)
my custom domain name is set both in /etc/avahi/avahi-daemon.conf and /etc/mdns.allow
A few commands that could help to diagnose the problem:
/etc/nsswitch.conf
hosts: mymachines mdns [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
avahi-browse --all --ignore-local --resolve --terminate
service_type_browser failed: Not found
$ sudo host -t SOA local
local.mydomain.com has no SOA record
Offline