Hi,

My machine is connected to a LAN where IP is assigned by a DHCP server.
The IP of my machine has changed, so when i try to ping <hostname> i get the following error:
"Ping request could not find host . Please check the name and try again."

/etc/hosts entry:
127.0.0.1 mybox.mydomain.com localhost.localdomain localhost mybox

/etc/sysconfig/network-scripts/ifcfg-eth0 :
DHCP_HOSTNAME="mybox.mydomain.com"

cat /proc/sys/kernel/hostname :
mybox.mydomain.com

How do i update the local DNS server with the new host name and DHCP IP?

Thanks in advance.