You are not logged in.

#1 2016-01-04 20:02:46

Osiris
Member
Registered: 2003-01-18
Posts: 157
Website

Avahi name resolution problems

Hello,

I have two arch machines on the same network, both have avahi enabled.

But the one machine horus can't resolve the other one, asaru. The other way around, from asaru to resolve horus it works.

florian@horus ~ % ping asaru
ping: unknown host asaru
2 florian@horus ~ % ping asaru.local
ping: unknown host asaru.local
2 florian@horus ~ % ping asaru.fritz.box
ping: unknown host asaru.fritz.box

but avahi can

florian@horus ~ % avahi-resolve-host-name -v asaru.local
Server-Version: avahi 0.6.32-rc; Rechnername: horus.local
asaru.local     fe80::7e7a:91ff:fe1b:5319

florian@horus ~ % avahi-resolve-host-name -4 -v asaru.local
Server-Version: avahi 0.6.32-rc; Rechnername: horus.local
asaru.local     192.168.178.20

avahi-browse -alr also shows the services on asaru.

= enp2s0 IPv6 asaru                                         SSH-Fernzugriff      local
   hostname = [asaru.local]
   address = [fe80::7e7a:91ff:fe1b:5319]
   port = [22]
   txt = []
= enp2s0 IPv4 asaru                                         Remote Disk Management local
   hostname = [asaru.local]
   address = [192.168.178.20]
   port = [22]
   txt = []
= enp2s0 IPv4 asaru                                         SFTP File Transfer   local
   hostname = [asaru.local]
   address = [192.168.178.20]
   port = [22]
   txt = []

nss is configured for mdns

florian@horus ~ % cat /etc/nsswitch.conf
[...]
hosts: files mdns [NOTFOUND=return] dns myhostname
[...]

Packages nss-mdns is installed on both machines. Access by IP works.

Any ideas what could be missing?

Thanks!

Last edited by Osiris (2016-01-04 20:03:13)

Offline

Board footer

Powered by FluxBB