Cannot resolve local domain hostnames

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
phoenixfire425
Level 1
Level 1
Posts: 5
Joined: Wed Feb 14, 2024 10:49 pm

Cannot resolve local domain hostnames

Post by phoenixfire425 »

In windows I am able to ping and go to thinks like my homeassistant , pi5, pihole, ect but just typing in the hostname
ie( http://homenas:8080 or http://pi5 )
This works on windows just fine. (pi5 =>

Code: Select all

<pre><font color="#8AE234"><b>corey@corey-Lenovo-YOGA-730-15IKB</b></font>:<font color="#729FCF"><b>~</b></font>$ ping pi5
ping: pi5: Name or service not known
<font color="#8AE234"><b>corey@corey-Lenovo-YOGA-730-15IKB</b></font>:<font color="#729FCF"><b>~</b></font>$ ping pi5.local
PING pi5.local (192.168.4.225) 56(84) bytes of data.
64 bytes from pi5.farlands.local (192.168.4.225): icmp_seq=1 ttl=64 time=2.35 ms
64 bytes from pi5.farlands.local (192.168.4.225): icmp_seq=2 ttl=64 time=2.92 ms
64 bytes from pi5.farlands.local (192.168.4.225): icmp_seq=3 ttl=64 time=2.94 ms
^C
--- pi5.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.349/2.738/2.941/0.275 ms
</pre>
the machine is corey-Lenovo-YOGA-730-15IKB.farlands.local

Code: Select all

<pre><font color="#8AE234"><b>corey@corey-Lenovo-YOGA-730-15IKB</b></font>:<font color="#729FCF"><b>~</b></font>$ domainname -A
corey-Lenovo-YOGA-730-15IKB.farlands.local 
</pre>
so just trying to understand what I need to do on linux to make it happy with just using the nonFQDN to resolve short names

Thank you got the help!!!
Post Reply

Return to “Networking”