rebel indian wrote:
hi i have installed a package dhclient. I had a dhcpcd running first i removed rpm -e dhcpcd and then i installed rpm -ivh dhclient my /etc/resolv.conf file looks like this now ; generated by /sbin/dhclient-script search crema.unimi.it nameserver 159.149.70.1
fixed-address 159.149.71.28;There's you new IP address, assigned by DHCP.
option domain-name-servers 159.149.70.1;Only one nameserver listed. It is working fine.
option domain-name "crema.unimi.it";And you default domainname for DNS searches.
I restarted the network services by typing service network restart
when i run ping with ip address it works but if i run [root@xxxxxx local]# ping www.yahoo.com <http://www.yahoo.com> ping: unknown host www.yahoo.com <http://www.yahoo.com>
what's the <..> stuff for? Try just 'ping yahoo.com' Also try 'host yahoo.com' to check just the DNS lookup.
Also try restarting nscd, 'service nscd restart'.
I had problem with PPP+DHCP because of nscd more than once. Now retry the host and ping commands.
-Thomas