This was a problem I thought I had licked, and I need some help solving it this second time.
I cannot get any domain name service at all under Red Hat Linux 7.1. I have created the file /etc/resolv/conf and I have filled it with lines and lines of IP addresses for machines I thought served domain names. The machines at the other end of the addresses I was using (4.1.1.1 and 4.1.1.2) apparently no longer want to provide me that service, so I located others.
Many others.
I got two from a place that says it offers an open DNS service, seven more from another page, and added them to /etc/resolv.conf like so:
# Dead addresses
#nameserver 4.1.1.1
#nameserver 4.1.1.2
# New addresses
nameserver 205.166.226.38
nameserver 65.102.83.46
... etc.
and I pinged google.com (everyone knows where google is, right? 216.239.35.100). ping told me that it couldn’t find the domain.
I can ping machines just fine if I replace the name with the IP address. I’m fairly sure it’s a DNS-related problem.
Okay, I’m not easily stymied. I went into Windows ME (I dual-boot my main machine) and googled up my ISP’s configuration page (onewest.net, if you must know) to see if they listed any nameserver addresses. Lo and behold, they did!
I commented out the seven old addresses and added the six I got from my ISP (Two for Montana, two for Wyoming, and two for Idaho. I’m nothing if not obsessive). Tried to ping google.com.
Nothing. Nada. “He’s dead, Jim.”
I’ve found more addresses to different nameservers. I haven’t tried them yet, but my hopes are not high. My ISP’s nameservers appear to be in existence (they respond to pings) and I can access the Internet just fine in Windows.
I’m about to go crazy. I just bought Red Hat 8.0 and I’m going to upgrade as soon as I buy more RAM (64 Megs isn’t cutting it), and I’d like to have functional connectivity under Linux when I do.