Operating Systems > Linux and UNIX

Slow Connection

(1/1)

Stryker:
At home I have a private network. Not connected to the internet except individual dialup accounts. there is a domain server (Samba) serving user accounts and a dns server just for the joy of learning about it. Everytime anybody connects to it, it give about a 20 second pause before anything is done. This happens through smb, ftp, http, dns, telnet, sendmail, and pop3. I've considered adding an entree in the /etc/hosts for itself but i do not know the format. the domain is rocmud and the server is "server1". How would I go about solving this, and if it is the /etc/hosts then what is the format for entering stuff into it?

voidmain:
Actually the problem is likely that the server is trying to reverse resolve the client names. If you put the IP address (and a name) for each of your clients and things speed up, you'll know that's why. Another common thing is to have /etc/nsswitch.conf properly configured. I usually have:

hosts: files dns

Might want to give it a shot. For security a lot of services want to be able to reverse lookup the client IP for logging and other reasons.

Stryker:
Thanks, all goes well now. Although I'm sure something else will arise, it's just no fun without things to fix.

voidmain:

quote:Originally posted by Stryker:
Thanks, all goes well now. Although I'm sure something else will arise, it's just no fun without things to fix.
--- End quote ---


I don't put names in my /etc/hosts. I use a reverse DNS zone in my DNS server.

Navigation

[0] Message Index

Go to full version