Linux system vsftpd Landing slow card what to do

Source: Internet
Author: User
Tags ftp client nameserver
Linux system vsftpd Landing slow card what to do
  • Browse:145
  • |
  • Updated: 2013-12-31 00:50

VSFTPD is a Linux system in the FTP software, with it can implement files, data upload and download, but some users will find vsftpd login very slow, a stop, then how to solve the vsftpd landing slow card problem?

1. Modify the/etc/resolv.conf on the server so that its contents are only similar

NameServer 192.81.133.229

NameServer 114.114.114.114

The resolv.conf of the machine in question always contains addresses such as localhost or 127.0.0.1. This means that when the client connects to the server, the server performs a DNS lookup to confirm the domain name and waits until the time-out if the DNS used is not resolved.

2. Modify the VSFTPD configuration file

Vi/etc/vsftpd.conf

Add the following parameters:

Reverse_lookup_enable=no

Restart the VSFTPD service after saving the exit

Service VSFTPD Restart

Or

/ETC/INIT.D/VSFTPD restart

3. Verification

Login with FTP client, you can feel no waiting

If you have any problems with the above changes, we can't

/etc/resolv.conf

NameServer 192.81.133.229

NameServer 114.114.114.114

Change into

NameServer 8.8.8.8

NameServer 8.8.8.8

, this is estimated to be much faster, the above with the Google Server DNS we can also use their own server or domain name DNS

Linux system vsftpd Landing slow card what to do

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.