How to do dns flush
Setting an alternate DNS. While a DNS refresh might solve your connection problems, the DNS itself could potentially not be working as intended, and connection issues will continue no matter how many times you flush your DNS cache. You can check if you DNS is failing by trying to switch to a public DNS like Google DNS.