From Space on Tue, 18 Jan 2000
I know this is a silly question, but I just can't seem to figure this out. I setup my ISP and dial in and log on ok, then when I open Netscape and try to open a web page Netscape can't find any of them!?!?! I had it fixed once but since then I have reinstalled RH 6.1 again and can't remember how I fixed it. I am starting a journal and keeping track from now on! Thanks Answer Guy
Sounds like you have something wrong with your /etc/resolv.conf (like it's empty or it doesn't list any valid name servers).
Ask your ISP for a list of preferred name servers. (You can use just about any on there on the Internet so long as you have IP addressing and routing working, but it's polite to use the ones that are "close" to you).
If that still doesn't work, then look at your nsswitch.conf and consider replacing it with something more like:
# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
The nsswitch.conf that comes with Red Hat is silly and makes all sorts of reference to NIS and NIS+ services which you probably aren't using. Those should be harmless though they do impact performance.