name resolution failing for most domain names, a few are resolving

I was having slow browser response in my Suse 10 system and discovered that of the three DNS servers I had listed the first was failing which cause slow name resolution even though once connected the connection was fast. I commented out the first DNS server in /etc/resolv.conf and everything was great for the next couple of days then suddenly my browser and email client started reporting  "<domain-name> could not be found" errors for most sites. A few sites, the ones I visit regularly, still work but most don't. I've checked everything I know to check (which isn't a lot I'm afraid). My Linux box is behind two Linksys routers (a voip router and a wireless access point). I don't believe these are the problem because my Windows machine is behind the same two routers and works fine.  The /etc/resolv.conf files contains references to the same DNS servers as the Windows box. The default gateway on the linux box is also set the same as the Windows box. I'm out of ideas and would appreciate any help you can give me.
udysisxAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leisnerCommented:
If the sites don't change, you can get buy for a brief time by sticking them in your /etc/hosts
file.

I'm not sure whether installing a caching DNS server on your machine will help...on my
lan I have a linux machine acting as a firewall to my cable modem -- and I have a DNS server
on my firewall...you can install a caching dns server as an rpm package (I never have).

If your DNS server works for some sites and doesn't work for other sites, the server has
problems...Also problems are often intermittent -- a problem once can be ignored...a series
of problems is different...

I'm a bit confused because you say your windows machine works fine...

When there is a difference, the configuration/order is different.

It may be useful to physically check the packets (using ethereal) to confirm the same packets are being transmitted...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
udysisxAuthor Commented:
What do you mean by "When there is a difference, the configuration/order is different."?
My DNS servers are my ISP's DNS servers so that fact that the windows machine works
and shares the same DNS servers is an indication that the DNS servers and the path to
them (ie my two routers) are all working OK. Is there any sort of caching already going on
in a basic setup. The fact that a hand full of my regularly visited sites still work seems like
an indication that they have been cached.  I'll try using ethereal to see what's going where.
udysisxAuthor Commented:
Well, ethereal proved to be a good idea. Not so much for the packets but for the following warning message that it displayed on my xterm...

adns: server is not willing to do recursive lookups for us (Q
NAME=120.1.168.192.in-addr.arpa, QTYPE=PTR(checked), NS=64.56.96.6)
adns: server is not willing to do recursive lookups for us (QNAME=104.167.233.64
.in-addr.arpa, QTYPE=PTR(checked), NS=64.56.96.6)

Apparently windows doesn't ask for a recursive lookup or doesn't care.

In any case, I put a different set of DNS servers into /etc/resolv.conf and that seems to have solved
the problem.  Thanks for your help it got me going again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.