Linux fedora core 2
GNOME

How can I stop dhcp client chaning hostname that it gets from dhcp server. In sort I want to have hostname equal to xxxxx.test.com instead of dch<ip address>.test.com.
I also changed HOSTNAME = xxxxx.test.com in \etc\sysconfig\network and still getting following alert message:

Could not look up internet address for xxxxx. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding xxxxx to the file /etc/hosts.

Log in Anyway Try Again


Any input to resolve this issue is appreciated.
Thanks