Assistance please with /etc/hosts

view full story

http://forums.fedoraforum.org – Now I dont often have to mess with my local network but I have an application which needs to use dns lookup to find another PC on my local lan (it assumes anything in its config to be a name and not an IP address!)) so what I thought I could do was to add the relevant name and IP address to my /etc/hosts file and after a restart any request for the defined host name would be returned the IP address from the hosts file. However this is not working. I have added a line in hosts :- weather.com which I thought should work. Can some one please help? What have I done wrong? Stuart (HowTos)