Hostname not fully qualified..

Hi Friends..

I have a small problem with the hostname of my system.I had installed Solaris 10 X86 on Vmware in my windows 2000 system.After booting of my solaris system,if i give check-hostname command it says ,,

hostname is not fully qualified ,,change the hostname to hostname.xxx.xxxxxx.com ..in /etc/hosts file

then if i change it to what it specified and again give check-hostname,,it says the hostname is fully qualified ,,,but when i reboot my machine and give check-hostname it again gives a msg to chage the hostname to hostname.xxx.xxxxxx.com and if see the files /etc/hosts it is also set to just hostname (#Added by DHCP) a msg after that.

I am not getting what is wrong with it?

you get your informations via dhcp. provide a static ip and a hostname in /etc/hosts and /etc/hostname.nicname files and you are done.
btw. which solaris 10 version do you use? (cat /etc/release)

greets,
DN2

I thought the dhcp may be the problem,,but i can't change it,,i should use dhcp only,,static ip's are not allowed by our network admin..

and my /etc/release file shows
Solaris 10 3/05 s10_74L2a X86

Tell me is there any way i can get a fully qualified domain over reboots using dhcp only,,

Thanks for ur replies DN2

you have to read here:
System Administration Guide: IP Services