How to View Your Browsing History in Incognito Mode

If you have a shared computer and you think that by deleting the history you can eliminate all traces of the pages you have visited, you are making a mistake. Although we use the incognito mode offered by most web browsers, the truth is that there is always a loophole where all those “private” visits are recorded, and that is the DNS cache.

What is DNS cache exactly?

When we write the name of a web page in the address bar of the browser, it goes to the DNS server that we have configured in our device to know what IP it corresponds to and load the content of the page. Thus, when we later try to access that same site, our browser consults the DNS cache, and if it is in the list, it resolves the address without having to consult the IP address on the server.

This is a pretty smart trick that allows us to navigate and load the pages much faster, as well as send emails and perform other types of actions through the Internet. The funny thing about all this is that the DNS cache does not distinguish between different types of browsing , and records everything: both normal tabs and those that work in “incognito mode.”

How to see the websites that we have visited in incognito mode from the DNS cache

Since DNS is totally independent of the browser we are using, this is a trick that we can apply both for the websites visited in Chrome, such as Firefox, Edge, Opera or any other browser .

To consult the list of pages registered in the DNS cache, all we have to do is execute a command from an MS-DOS or Powershell window on the computer.

  • Open an MS-DOS window in Windows by typing the command ” cmd ” in the search engine on the taskbar. If you have an older version of Windows you can also enter this same command from ” Start -> Run “.
  • Terminal windows usually open to the path where the active user profile is located, such as “ C: \ Users \ User_name ”. The first thing we are going to do is go to the desktop, typing the command ” cd desktop “.
  • Next, write the command ” ipconfig / displaydns> historydns.txt “. This will cause the system to dump all DNS cached history into a text file called “historydns.txt”.

Now you only have to go to the desktop and open the text file that has just been created. You will see how a list appears with all the web pages and services you have recently visited, including those “private” webs that have been loaded in incognito mode.

Note: You can also see the contents of the DNS cache directly from the MS-DOS window by typing the command ” ipconfig/displaydns“. However, the cache usually includes a large number of entries and in many cases it is impractical to consult, so I personally think that it is much more convenient to dump it in a TXT file.

How to flush the DNS cache

If you are concerned that someone might spy on you with this method, you can always clear the DNS cache. To do this, just open a new MS-DOS window and execute the command “ ipconfig / flushdns ”.

In general, it is recommended to clear the DNS cache from time to time for both security and privacy reasons. However, it can also help you solve technical problems, in the event that a page does not load correctly or shows any DNS errors.

If you are an Android user, although you cannot see the content of the DNS resolution cache, you can empty it by simply turning off the phone for at least a minute and turning the device back on. If you do not want to turn off the mobile you can also do the following if you use the Chrome browser:

  • Open Google Chrome and in the address bar write this URL:
    • chrome: // net-internals /
  • This will take you to a configuration screen where you must click on « DNS «.
  • To finish, select « Clear host cache «.

How to disable Chrome’s incognito mode

If you have children at home and you want to deactivate the incognito mode of the browser, you will be interested to know that this is something that can be done. However, it is a delicate task, since it requires you to make a modification in the Windows registry editor.

  • Press the “Win + R” key combination or click on the search engine on the taskbar and type the command ” regedit ” (without quotes) to open the Registry Editor.regedit
  • From the drop-down menu on the left, navigate to the path ” Computer \ HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ “.

Create New Entry

Now what we will do is create a new entry in the registry called “IncognitoModeAvailability” following these steps:

  • Right click on ” Policies ” and select “New -> Password”.
  • Write ” Google ” (without quotes) as the name that this new key or folder will have.
  • Right click on “Google” and choose “New -> Password”.
  • In this case, the new key will be called ” Chrome ” (without quotes). In the end we should have a folder structure.
  • Now we right click on «Chrome» and select « New -> DWORD value (32 bits) «.
  • We will call this new value ” IncognitoModeAvailability ” (without quotes).
  • Finally, right click on “IncognitoModeAvailability”, select “Modify” and in the “Value information” field replace the 0 with the number 1.
  • Save the changes by clicking on the “Accept” button.
  • Close the Windows registry editor and restart the Chrome browser.

From here, if we try to open a new incognito window we will see that Chrome no longer offers this option. It won’t even work by using the keyboard shortcut “Control + Shift + N” to open a new incognito window. The functionality will simply be blocked and inaccessible.

If at any time we want to re-enable incognito mode, we will only have to go back to the registry editor and modify the value of “IncognitoModeAvailability” to “0” so that it is available again.

More Like This

How to Disable Web Notifications in Chrome for Android

Do you receive notifications in your Chrome browser? We will teach you how to disable these notifications in Chrome so that they do not...

How to Increase or Change Font Size in Safari Browser on Mac

It is not a secret for anyone that surfing the web has become one of the activities that we usually do daily. And for...

5 Advantages of Using Incognito Mode in Your Apps and Search Engines

The incognito mode is not a new function between apps and browsers. Very few have discovered all the benefits when using it. For that reason,...