This is baffling.

I have a CentOS 6.5 laptop, and everything was working great. The network was setup as DHCP, but the IP was very static (hasn't changed since I built the box). I had to remove it from the network, so I modified the IP to be static (for a trip).

I did hook it up to another network during my trip, but it worked fine.

Upon returning, I changed it back to DHCP, which gave me a new IP. However, now only root is able to resolve its hostname. From a regular user account, ping to its own hostname results in hostname not being found. The host file is set up with the new IP, hoping that was it. It can resolve other hostnames without a problem, just not its own. However, logging in as root allows it to resolve its own name.

It is really bizarre.

I did check resolve.conf and it is set up with read permissions for everybody.

Does anybody have any suggestions? I'm at a loss.

Thanks!
Tim