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

DNS record will be removed if MySQL connection fails or times out for a specific hostname #4656

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

rahim-kanji
Copy link
Collaborator

@rahim-kanji rahim-kanji commented Sep 19, 2024

DNS Cache Fixes

  • If a MySQL connection fails or times out for a specific hostname, the corresponding DNS record will be removed. This ensures that outdated DNS records are not retained. (rest of the DNS resolution workflow remains unchanged)
  • DNS cache functionality will automatically be disabled when ProxySQL is run with the -M or --no-monitor option.

* If a MySQL connection fails or times out for a specific hostname, the
corresponding DNS record will be removed from DNS Cache. This ensures that outdated DNS
records are not retained. (Rest of the DNS resolution process remains unchanged)
* DNS cache functionality will automatically be disabled when ProxySQL is
run with the -M or --no-monitor option.
@mirostauder
Copy link
Collaborator

Can one of the admins verify this patch?

@renecannao renecannao marked this pull request as ready for review September 20, 2024 08:55
@mirostauder
Copy link
Collaborator

retest this please

3 similar comments
@mirostauder
Copy link
Collaborator

retest this please

@mirostauder
Copy link
Collaborator

retest this please

@mirostauder
Copy link
Collaborator

retest this please

@renecannao renecannao merged commit c03c5ee into v2.6 Sep 20, 2024
110 of 139 checks passed
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.

3 participants