Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW: hidden conf to disable use of dns_get_record (which can become u… #26339

Merged

Conversation

atm-florianm
Copy link
Contributor

NEW hidden conf MAIN_DISABLE_DNS_GET_RECORD

On some servers, for reasons unknown, the PHP function dns_get_record() gets completely unresponsive and blocks the whole apache server while waiting for a DNS resolution until it eventually times out.

We tried to troubleshoot the issue (by trying to call the function from a php cli, by comparing with other DNS tools like resolveip or dig, by modifying /etc/resolv.conf, etc) but we did not find a reliable solution yet, so the hidden conf solution can be helpful for cases like this.

@eldy eldy merged commit ac5c9d0 into Dolibarr:develop Oct 24, 2023
3 checks passed
@atm-maxime atm-maxime deleted the FIX_unresponsive_dns_get_record branch October 28, 2023 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants