Adding Domain name n resolv.conf file without vi editor

Hi Guys,
I want to add the domain name entry to resolv.conf file. when i use the vi editor to do it the changes are gone after DNS client is being restarted. In Solairs 11 I figured out svccfg command will help to retain the cinfguration. but in linux how do we do that. Also for Solaris are there any additonal steps to be performed like refresh and validate once I change the Domain name. Please help. appreciate your help in advance.
karthik

On RedHat and alikes, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add a line like:

DOMAIN=my.domain.com

thanks hergp. I will try this out. is there something thorugh GUi that can be done. somebody told me we could also do that from GUI. I m new to System administration. so please apologize for my silly questions.