Solved

Slow responce of Linux serven inside local network

Posted on 2011-09-20
2
398 Views
Last Modified: 2012-05-12
Hello Experts,

I have some strange problem (probably DNS) inside my local network in office.
We have,
VMWARE XSI server running 2 virtual servers right now, Ubuntu server (For apache web server) and windows 2008 Srv as DC. My problem is strange, when i'm trying to access ubuntu via SSH  or any other protocol from local network, response from server can take up to 10 seconds,
But when i'm trying to access websites stored on this server there is no delay at all.

We have Fortigate 50b appliance as IPS and router in our local net. It is DHCP server as well.

Please assist.  
0
Comment
Question by:DanSmir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
DanSmir earned 0 total points
ID: 36567423
Solved
1. It seems like a reverse DNS problem. By default, SSH will check where incoming connections are from by performing a reverse DNS query on the incoming IP address. This will work fine when you come from an external computer, but might fail when you come locally if you don't have DNS setup properly. If you haven't done so already, you could try to add all your computer's hostnames and IP address in /etc/hosts on all computers (especially the ssh server) to make sure the reverse DNS will succeed. Obviously, you'd need to use static IP addresses on your LAN for that to work.

2. Failing the /etc/hosts solution above, you could try setting the UseDNS setting to 'no' in the ssh server. To do this:

Code:

sudo nano /etc/ssh/sshd_config

add this line to the bottom (or change the 'yes' to 'no' if it's already in the config file):

Code:

UseDNS no

then restart the ssh server:

Code:

sudo /etc/init.d/ssh restart

0
 

Author Closing Comment

by:DanSmir
ID: 36567426
I found solution my self, and posted here. Please close this question
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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