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.
DNS Cache Fixes
-M
or--no-monitor
option.