Solved

Slow responce of Linux serven inside local network

Posted on 2011-09-20
2
357 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
  • 2
2 Comments
 

Accepted Solution

by:
DanSmir earned 0 total points
Comment Utility
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
Comment Utility
I found solution my self, and posted here. Please close this question
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
new to networking configuration 6 30
ports for sccm 2012 1 60
Has my website been infiltrated? 21 57
IT Asset Management 5 48
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now