-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
According to the script, skip-name-resolve should be enabled:
CPanel and Flex system skip-name-resolve should be on
However this is incorrect, according to cPanel:
https://support.cpanel.net/hc/en-us/articles/21664293830423-Should-I-use-skip-name-resolve-in-my-cnf
The script then recommends entering:
Variables to adjust:
skip-name-resolve=0
Which is once again wrong - adding this effectively enables skip-name-resolve rather than disabling it. Confirmed by querying the MySQL server:
mysql> SHOW VARIABLES LIKE 'skip_name_resolve';
+-------------------+-------+
| Variable_name | Value |
+-------------------+-------+
| skip_name_resolve | ON |
+-------------------+-------+
Recommended changes:
- Do not state that "CPanel and Flex system skip-name-resolve should be on
- In the recommendations, do not recommend adding the skip-name-resolve=0, which effectively enables it rather than disable it (skip-name-resolve is not a boolean variable, it's a switch - it must be completely absent from the config file)
This was tested on an AlmaLinux 8 server running MySQL 8.4 and cPanel 130.
Metadata
Metadata
Assignees
Labels
No labels