Website is down: warning IP address could not be resolved: Name or service not known

Created:

2017-03-11 22:30:46 UTC

Modified:

2017-08-08 13:10:37 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Website is down: warning IP address could not be resolved: Name or service not known

Applicable to:

  • Plesk for Linux

Symptoms

Website is down. Remote MySQL server is configured in Plesk.

The following error is shown in /var/log/mariadb/mariadb.log:

[Warning] IP address '203.0.113.2' could not be resolved: Name or service not known

Cause

MySQL server unsuccessfully tries to perform a reverse DNS lookup for IP address of the Plesk server. The reason of message is that the IP address of host connecting to MySQL has no reverse lookup zone. Such message also can mean that someone is trying to brute force into MySQL database.

Answer

1. Login to the MySQL server over SSH

2. Configure the server to skip reverse DNS lookup, by adding 'skip-name-resolve' option to [mysqld] section of /etc/my.cnf configuration file.

3. Restart MySQL server to apply the new setting:

# service mysqld restart

 

 

Have more questions? Submit a request
Please sign in to leave a comment.