On Tue, Nov 06, 2012 at 05:12:05PM +0000, mick wrote:
On Tue, 6 Nov 2012 16:16:20 +0000 Chris Green cl@isbd.net allegedly wrote:
On Mon, Nov 05, 2012 at 06:18:07PM +0000, mick wrote:
On Mon, 5 Nov 2012 18:08:06 +0000 Chris Green cl@isbd.net allegedly wrote:
So, is there a command that scans for and lists hosts by *name* on a LAN?
cat /etc/hosts
Not when my hosts are assigned their IP addresses by a local DHCP server:-
Chris
My response was tongue in cheek. But since I know that you use DNSmasq on your network and DNSmasq can consult a local hosts file before allocating IP addresses over DHCP (and can map specific MAC addresses to IP addresses according to the contents of /etc/ethers) it is perfectly reasonable to consult /etc/hosts.......
Yes, I sort of know your comment was tongue in cheek, but I thought I'd clarify what I was asking for anyway.