yuuki102 n00b
Joined: 21 Sep 2021 Posts: 32
|
Posted: Fri Sep 27, 2024 4:26 pm Post subject: I can't resolve .local names with Avahi and mdns |
|
|
Hello,
I have the sys-auth/nss-mdns package installed to resolve .local names. But it isn't working. Every time I try to ping, it returns "Host name not known". But a normal DNS ping to an Internet server works.
Code: |
miohatsume@fedora-msi ~ $ ping mii-server.local
ping: mii-server.local: Name or service not known
helena@gentoo-msi ~ $ ping raspberrypi.local
ping: raspberrypi.local: Name or service not known
helena@gentoo-msi ~ $ ping www.google.com
PING www.google.com (142.250.187.228) 56(84) bytes of data.
64 bytes from lhr25s34-in-f4.1e100.net (142.250.187.228): icmp_seq=1 ttl=117 time=17.5 ms
64 bytes from lhr25s34-in-f4.1e100.net (142.250.187.228): icmp_seq=2 ttl=117 time=21.0 ms
|
I don't understand why it isn't working. I have mdns declared on my nss config.
Code: |
hosts: files mdns4_minimal [NOTFOUND=return] dns
networks: files
|
In addition to that, when I append it with mdns4, other Linux boxes in the network can ping my hostname just fine. So why can't I ping them? |
|