I'm running Ubuntu 18.04 on my laptop. I am trying to ping other computers on my local network using their hostname but it's not working.
$ ping ubuntudesktop ping: ubuntudesktop: Name or service not known
I have the name servers for the wifi adapter set up as follows: Wifi adapter DNS settings
I am snooping the wifi packets using wireshark and I do not see any DNS query when I run the ping command. Why are these nameservers not being used?
On a side note - when I use nslookup for google.com for example I get the following:
$ nslookup google.com Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: google.com Address: 188.8.131.52 Name: google.com Address: 2607:f8b0:400a:803::200e
I am assuming Server is the address of the DNS server? Isn't 127.0.0.53 an address for the loopback interface? Would this mean it's essentially querying itself?