?
Solved

Multiple DNS Connections Bogging System

Posted on 2000-01-31
4
Medium Priority
?
226 Views
Last Modified: 2010-03-18
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.
0
Comment
Question by:joetubalube
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
them earned 80 total points
ID: 2476617
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
 

Author Comment

by:joetubalube
ID: 2478851
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
 
LVL 1

Expert Comment

by:them
ID: 2478938
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
 
LVL 1

Expert Comment

by:kodiakbear
ID: 6821032
Fixed the -1 problem on this question.
Escrow points corrected.

kb
Community Support Moderator
Experts Exchange
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question