Because the server is in a intranet environment.
Every time when connect to services: SSH MySQL FTP
It will take from 20 second to 6 minutes to connect into server.
Which in some case like FTP client will tell you "Time Out"
The reason cause this issues is: Reverse DNS lookup
To fix this:
1.SSH
# sed 's/#UseDNS yes/UseDNS no/g' /etc/ssh/sshd_config -i
# service sshd restart
2.MySQL
# vi /etc/my.cnf
Add:
[mysqld]
skip-name-resolve
3.FTP
# vi /etc/resolv.conf
use "#" to disable the intranet server like:
#nameserver 1.2.3.4
#nameserver 5.6.7.8
Done.
Update on same issues.
ReplyDeleteIf you still want use DNS for some software like:
easyDNS
vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
Gparted why u no work :(
ReplyDeleteColoration
ReplyDeleteWell I sincerely liked studying it. This subject provided by you is very practical for correct planning.
ReplyDeleteAAAAAAAAAA,
ReplyDeleteExcellent way of telling, and pleasant piece of writing to get information concerning my presentation focus, which i am going to convey in institution of higher education.
ReplyDelete[url=http://getlistmoshou.blogcenter.de/]where get inexpensive wow gold on uwowgold.com.au[/url]
where get inexpensive wow gold on uwowgold.com.au
Touche. Solid arguments. Keep up the amazing spirit.
ReplyDelete