Multiple DNS Connections Bogging System

I have a linux box running RedHat 6.0 which is an e-mail server for 60 Win95 PCs using Netscape Communicator as a e-mail client.  The linux box has its own gateway with a dedicated ISDN line and entries for our ISP's (ISP "A") DNS.  All of the client's server settings in Netscape contain the IP address of the linux box so that the name doesn't have to be resolved.  The clients who have internet access have a different gateway from a different ISP(ISP "B") with DNS settings for that ISP.

Most of the time the system works great, very fast and reliable.  Sometimes, however, the linux box gets very slow both sending and retrieving mail, making telnet connections etc. When this happens, if I check the active connections with netstat there are multiple udp connections to the ISP's DNS (ISP "A").  After a while (sometimes hours) the connections will close and things go back to normal.

Can anyone suggest a reason for this and a possible fix.  Any help would be appreciated.
joetubalubeAsked:
Who is Participating?
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.

themCommented:
Setup local DNS on the Linux box. Then make sure the the linux box is using its own DNS and then for all local machines set all of the Windows boxen to use the Linux box for DNS. This will build up a LARGE rich cache of DNS information locally and much of the time you will not need to go across the ISDN line. This will result in much faster DNS and more bandwidth avalible for other purposes.

Given the version of RedHat you are using, DO NOT, I repeat DO NOT install bind (DNS) off the the RedHAt 6.0 CD-ROM. It has security problems, get a fresh new copy directly from the RedHat updates site.
0

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
joetubalubeAuthor Commented:
Thanks for the quick response, them.  I have a couple of things that I hope you could clarify for me.  If I set the linux box to be its own DNS should I remove the address for the ISP's DNS from the linux settings?  And if I change all of the client's DNS settings to point to the linux box will heavy duty web surfing turn the box into more of a name resolver than an e-mail server or can it handle both?
0
themCommented:
No don't remove it, in the resolv.conf file add another line (it should be the first line in the lines of namserver lines "nameserver localhost". That way first the machine will use its own DNS server if that fails it will continue to use the ISP's which will keep mail moving in the event the local DNS fails (this is highly unlikely to happen though). The machine is going to use the local DNS 99.9999% of the time but can fall back if need be.

I would expect the machine can easily handle both email and DNS, however if you will give me the specs of the machine I can give you a much better answer.

Linux servers are VERY robust and efficient, as the local cache builds up the DNS will become larger and larger which will greatly reduce the traffic on your ISND line.
0
kodiakbearCommented:
Fixed the -1 problem on this question.
Escrow points corrected.

kb
Community Support Moderator
Experts Exchange
0
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.