If it's the new machine's hosts file you're referring to,it returns
127.0.1.1 hostname.example.com hostname
#ifconfig returns inet addr as say 129.174.xx.xxx
When I try to ping this with hostname(from someother machine),it looks for different ip say 129.174.yy.yyy. So, I tried to ping with 129.174.yy.yyy which doesn't work. However, it worked when I do "ping 129.174.xx.xx".
And from the local machine when I try "nslookup hostname" it returns all the data with name/addr(hostname/129.174.yy.yyy). So, I tried to change the eth0 addr in /etc/network/interfaces with (not sure if I'd something correct)
iface eth0 inet static
and when I do ifconfig it returns eth0 inet addr with 129.174.yy.yyy.However, nslookup hostname now stucks for awhile and says connection timedout:no servers could be reached
Any suggestions would be greatly appreciated...