2015-05-17 14:50:38 1896 [Warning] Host name 'hn.kd.ny.adsl' could not be resolved: No such host is known.
2015-05-18 00:11:23 1896 [Warning] IP address '222.186.21.38' could not be resolved: The requested name is valid, but no data of the requested type was found.
2015-05-18 12:12:57 1896 [Warning] Hostname 'unassigned.psychz.net' does not resolve to '216.99.158.181'.
2015-05-18 12:12:57 1896 [Note] Hostname 'unassigned.psychz.net' has the following IP addresses:
2015-05-18 12:12:57 1896 [Note] - 199.15.112.8
2015-05-18 15:12:41 1896 [Warning] Hostname 'unassigned.psychz.net' does not resolve to '216.99.158.158'.
2015-05-18 15:12:41 1896 [Note] Hostname 'unassigned.psychz.net' has the following IP addresses:
2015-05-18 15:12:41 1896 [Note] - 199.15.112.8
2015-05-19 16:27:21 1896 [Warning] Host name 'hn.kd.ny.adsl' could not be resolved: No such host is known.
답변1
다음을 추가하십시오.my.cnf
[mysqld]
skip-host-cache
skip-name-resolve
이 두 변수는 그렇지 않습니다.글로벌service mysql restart
그러니 그 이후에 해야지
3306(MySQL) 포트에 대한 모든 연결을 차단하고 원하는 연결만 허용하려는 경우
$ iptables -N mysql
$ iptables -A mysql --src 1.1.1.1 -j ACCEPT
$ iptables -A mysql -j DROP
$ iptables -I INPUT -m tcp -p tcp --dport 3306 -j mysql
여기서 1.1.1.1은 추가하려는 IP 주소입니다.화이트리스트