Sometimes ssh to linux is slow-Linux Enterprise Application-Linux server application information. The following is a detailed description. Applications With Reverse Domain name resolution affecting the initial connection speed include telnet and ftp, while www and proxy depend on whether the configured DNS is permitted. The affected program depends on the speed at which the local LAN connects to the Internet. When you use X.25 of 9600bps to connect to the ISP, this problem becomes more obvious.
Explanation of this problem: services such as telnetd, ftpd, and logind on Unix hosts usually attempt to know the domain name corresponding to the client's IP address when accepting connections, of course, it will query the local DNS Server. the DNS Server may reply to the Unix host with the client's domain name, or the Unix host client has no domain name, or the query times out .. when the client IP address does not have a Reverse Domain Name Record on the local DNS Server, it is necessary for the DNS Server to communicate with the outside world .. the speed of connecting the local LAN to the Internet will certainly affect Reverse Domain name resolution. The worst case is that telnetd and other service programs will wait until the Reverse Domain name resolution times out to do the next step.
Solution: Complaints usually come from the internal network. What's more, you can only manage the internal network. My practice is: Add Reverse Domain Name Records to each IP address in the internal network, but the problem is that not every IP Address has a domain name.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service