From Space on Tue, 18 Jan 2000
Hi,
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
Space@
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.
1 | 2 | 3 | 5 | |||||
5 | 6 | 7 | 8 | 9 | ||||
10 | 11 | 13 | 14 | 15 | 16 | 17 | ||
18 | 19 | 20 | 21 | 22 | 23 | 24 | ||
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | |
34 | 36 | 37 | 38 | 39 | 42 | 41 | ||
42 | 43 | 44 | 45 | 46 | 47 | 48 |