Author Topic: Slow Connection  (Read 452 times)

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
Slow Connection
« on: 18 November 2002, 03:10 »
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

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Slow Connection
« Reply #1 on: 18 November 2002, 03:58 »
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.
Someone please remove this account. Thanks...

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
Slow Connection
« Reply #2 on: 18 November 2002, 04:08 »
Thanks, all goes well now. Although I'm sure something else will arise, it's just no fun without things to fix.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Slow Connection
« Reply #3 on: 18 November 2002, 04:12 »
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.


I don't put names in my /etc/hosts. I use a reverse DNS zone in my DNS server.
Someone please remove this account. Thanks...