Bug #100823 | After switching the DNS mapping, session reconnect and using the original host | ||
---|---|---|---|
Submitted: | 12 Sep 2020 16:06 | Modified: | 14 Sep 2020 13:52 |
Reporter: | z yz | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[12 Sep 2020 16:06]
z yz
[14 Sep 2020 13:52]
MySQL Verification Team
Hi, If I'm properly reading your report you change the IP of a host in DNS and your client does not see this new IP when reconnecting? This is normal behavior and has very little to do with mysql, dns is caching the result and the client is caching the resolved ip's on top of that. Try for e.g. how chrome or firefox behave, in order for them to ping DNS again you usually have to close and restart them, and even then the local dns cache can delay the propagation of the change.