note that rDNS resolution turned off
This commit is contained in:
parent
60212b0c39
commit
a5c7d200fc
@ -57,6 +57,7 @@ chown -R mysql:mysql /var/lib/mysql
|
|||||||
|
|
||||||
# skip DNS reverse name resolution if option is set (default)
|
# skip DNS reverse name resolution if option is set (default)
|
||||||
if [ "$MYSQL_SKIP_NAME_RESOLVE" = 'TRUE' ]; then
|
if [ "$MYSQL_SKIP_NAME_RESOLVE" = 'TRUE' ]; then
|
||||||
|
printf "Turning reverse DNS name resolution OFF"
|
||||||
sed -i '/^\[mysqld\]$/a skip-name-resolve' /etc/my.cnf.d/mariadb-server.cnf
|
sed -i '/^\[mysqld\]$/a skip-name-resolve' /etc/my.cnf.d/mariadb-server.cnf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user