On all of mya Ubuntu 1816.04 computerscomputer on the local network I can ping aany other computer on the network (we will call it hostname) by using "ping hostname" or by using "ping hostname.local". However, on another computer I just installed Ubuntu 18.04 on, "ping hostname" yields "Name or service not known" yet "ping hostname.local" still works. In this specific circumstance I need "ping hostname" to work. WhyI do not know what is this device unableso special about the 16.04 machine that makes it able to resolve local hostnames without the .local file yet all other devices can. Does anyone have any ideas?
Below are results of systemd-resolve --status on the 18.04 machine
Global DNSSEC NTA: 10.in-addr.arpa 16.172.in-addr.arpa 168.192.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa corp d.f.ip6.arpa home internal intranet lan local private test Link 3 (enp4s0) Current Scopes: none LLMNR setting: yes MulticastDNS setting: no DNSSEC setting: no DNSSEC supported: no Link 2 (enp3s0) Current Scopes: DNS LLMNR setting: yes MulticastDNS setting: no DNSSEC setting: no DNSSEC supported: no DNS Servers: 192.168.1.1 8.8.8.8 DNS Domain: ~.
I tried adding a local search domain but it did not help
Hostname isHostnames are not defined in any of the device's16.04 /etc/hosts. The device was given it's up fromIt is resolving the hostnames through my router's DHCP whichrouter somehow. If I believe is what is allowing this lookupconnect a brand new device to my network the 16.04 machine can access it immediately via its hostname and the 18.04 machine can access it through hostname.local
Any suggestions?