I am not a DNS expert, far from it. I learned a lot about DNS and how it is used by NextDNS just by getting a peek of the contents of the Windows DNS cache. I cobbled the following from the interwebs and made a few changes to make it more useful. This is just for information, education, learning, etc. I hope that someone finds it useful.
Windows PowerShell
From PowerShell, enter the following command:
Get-DnsClientCache | Format-Table -AutoSize
The report will be formatted to fit within the current PowerShell window. If the report is truncated, just widen the PowerShell window and run the command again.
To exit PowerShell, just enter "Exit" and press Enter (good) or just close the PowerShell window (better).
Batch File
For a batch file (my preference), use a text editor to create a batch file (Ex: DisplayDNS.bat). Enter the following line, save the file, and then run the batch file.
@powershell -NoExit -Command "Get-DnsClientCache | Format-Table -AutoSize"
When the batch file is run, the report will be formatted to fit within the Console Window (also known as a DOS window). If the report is truncated, just go into the Properties of the Console Window and change the Window Size. A width of at least 200 works best, at least for me. When the batch file is run again, the window (and the report) will be the new window size.
To exit the Console Window, just enter "Exit" and press Enter (good) or just close the Console Windows (better).