Skip to content

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

Merged
renecannao merged 1 commit intov2.6from
v2.6_dns_cache_fixes
Sep 20, 2024
Merged

DNS record will be removed if MySQL connection fails or times out for a specific hostname#4656
renecannao merged 1 commit intov2.6from
v2.6_dns_cache_fixes

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
Contributor

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
Contributor

retest this please

3 similar comments
@mirostauder
Copy link
Contributor

retest this please

@mirostauder
Copy link
Contributor

retest this please

@mirostauder
Copy link
Contributor

retest this please

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