In the Windows DNS cache, records of domain names with their IP addresses to which were accessed are stored. When a user opens a site for the first time, a DNS server is accessed; upon subsequent openings of a site, Windows already takes information from the cache. Therefore, if a new IP address has been assigned to a domain, then the system will access the old one for a while based on the data in the cache.
To clear the DNS cache in Windows, you need to open the command line, you can open it by typing the command “cmd” in the line or through the Start menu – “All Programs” – “Accessories” – “Command Prompt”. Then in the window that opens, type the command:
and press Enter, then a message should appear that the DNS cache is cleared.
Also, if user account control is enabled, then you need to run the command line on behalf of the administrator, for this you need to right-click on the item “Command line” and select “Run as administrator”.
See also my article:
How to clear DNS cache on MacOS