resolving hosts

i just installed redhat linx 6.1 on my dell 3700 inspiron.
i setup my nic and its working but i cant reslove hosts. im using an @home cable modem. i can connect to my ip, hostname, and localhost but i cant to any other host name.
i tried editing resolv.conf but all the info was right.
i need help
zer0Asked:
Who is Participating?
 
timduuConnect With a Mentor Commented:
Check /etc/nsswitch.conf and insure that you're using
DNS for hostname lookups. AFAIK Redhat is now using an
/etc/nsswitch.conf file like Solaris does.

You should have a line like:

 hosts:      files dns

- T.
0
 
dcavanaughCommented:
I also have @home.  I presume your /etc/resolv.conf file looks like this:

search  
nameserver 24.2.160.33
nameserver 24.2.160.34

If it looks like anything other than that, post it here.
0
 
sumawuschaCommented:
Also post the output of 'route -n'.
Can you ping the provider's nameserver?
0
 
dcavanaughCommented:
What is the IP address of your default gateway and can you ping it?
0
All Courses

From novice to tech pro — start learning today.