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