-----Original Message-----
From: Rikard Johnels
On Saturday 26 July 2003 07.38, Thomas Jones wrote:
A simple addition to your /etc/hosts file will suffice.
Your computer should query this file; recognize that it is in fact a node on the local subnet. Then it will access the ARP table for the MAC address of the station in question. If it is not already mapped in the ARP table, your system will execute an ARP query ot the subnet. This will all be done prior to execution of a DNS_REQUEST onto your internet trunk.
Add the following line to your /etc/hosts file:
192.168.x.x www.rikjoh.com www
HTH.
-- Thomas Jones Linux-Howtos Network Administrator OpenGPG Key: 0x6A3DF6E9
I DID have www in my hosts file.
192.168.1.2 talen.rikjoh.com talen www
I could 'ping www' and get replies from the server but 'ping www.rikjoh.com' gave me the external adress...
Which it will because you do not have www.rikjoh.com defined in your hosts file. Change the above line to: 192.168.1.2 talen.rikjoh.com www.rikjoh.com talen As was suggested above. Ken