Solved

Slow responce of Linux serven inside local network

Posted on 2011-09-20
2
404 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

737 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