On 1/21/24 15:34, Greg Wooledge wrote:
On Sun, Jan 21, 2024 at 03:20:09PM -0500, gene heskett wrote:
hosts: files mymachines dns myhostname
That's as installed, but hosts: line looks skunky to me.
what do mymachines and myhostname actually translate to?
They are the names of software packages (libraries) that are installed
on your system.
https://manpages.debian.org/bookworm/libnss-mymachines/nss-mymachines.8.en.html
https://manpages.debian.org/bookworm/libnss-myhostname/nss-myhostname.8.en.html
They shouldn't actually do anything, so long as the hostname being
looked up ("localhost" in this case) is found in /etc/hosts first.
.
gene@bpi52:~$ sudo mymachines
sudo: mymachines: command not found
gene@bpi52:~$
gene@bpi52:~$ sudo myhostname
sudo: myhostname: command not found
gene@bpi52:~$
still puzzledGreg How tp verify dns? Its the same relay bounce with
this for /etc/resolv.conf, one line
ene@bpi52:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.71.1
And it seems to work:
gene@bpi52:~$ ping -c1 yahoo.com
PING yahoo.com (74.6.231.20): 56 data bytes
64 bytes from 74.6.231.20: icmp_seq=0 ttl=49 time=49.130 ms
--- yahoo.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 49.130/49.130/49.130/0.000 ms
Thanks Greg
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis