If a private home network has just four or five machines in, say, a 192.168.1.0 network, the easiest way to establish a DNS-like naming service for the network is to create a host table (in the/etc/hosts) file on each machine. The name resolver program would then consult this table to determine the IP address of each machine in the network.
Download PDF here.