note that rDNS resolution turned off

This commit is contained in:
Asif Bacchus 2020-11-28 04:21:55 -07:00
parent 60212b0c39
commit a5c7d200fc

View File

@ -57,6 +57,7 @@ chown -R mysql:mysql /var/lib/mysql
# skip DNS reverse name resolution if option is set (default)
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
fi