Set a static ip address by using these commands….
ifconfig eth0 xxx.xxx.x.xx (replace x with ip address)
Edit /etc/sysconfig/network with ur favorite editor and type the hostname/computer name
open /etc/sysconfig/network-scripts/ifcfg-eth0 and set as
search hostname (i.e. computername)
nameserver (i.e. the IP u assigned earlier)
nameserver (i.e. secondary address)
chekc the file /etc/hosts and make sure the same IP is there
Now start the following….
service named restart
chkconfig named on
dig -x xxx.xxx.x.xx (replace x with ur ip address)