[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

response from the host command for a private address listed in /etc/hosts



Suppose that a LAN has machines myworkstation and myserver
with private addresses and that myworkstation:/etc/hosts
contains this line.
172.24.1.1    myserver.site.invalid    myserver

What response should come from `host myserver` executed
on myworkstation?  By consulting /etc/hosts, it should be
able to report the address 172.24.1.1.  I get only this.

peter@myworkstation:~$ host myserver
Host myserver not found: 3(NXDOMAIN)

Thanks,               ... p. crawford



One at a time or all at once? Get updates from your friends in one place.

Reply to: