Step 1: Open Command prompt as mentioned above Step 2: Type command ipconfig /flushdns to clear the DNS. Step 3: This will flush the DNS entries and now nobody can view websites that you’ve visited.