VB.WindowsDNSLogAnalysis

1.1.1

Parse Windows DNS debug logs once, store all records in SQLite, and expose the data through SQL-backed query functions. Designed for internal DNS traffic analysis, troubleshooting, and security investigation.

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name VB.WindowsDNSLogAnalysis

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name VB.WindowsDNSLogAnalysis

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Vibhu Bhatnagar. All rights reserved.

Package Details

Author(s)

  • Vibhu Bhatnagar

Tags

DNS SQLite Logging Analysis WindowsDNS Diagnostics Security

Functions

Initialize-VBDNSLogDatabase Import-VBDNSLog Get-VBDNSLog Invoke-VBDNSLogQuery Get-VBDNSLogStatistics Export-VBDNSLogReport

Dependencies

Release Notes

v1.1.1 (2026-05-20)
- Patch release to trigger PSGallery publish (initial publish failed due to missing PSSQLite dependency on CI runner)

v1.1.0 (2026-05-07)
- Renamed module from DNSLogDB to VB.WindowsDNSLogAnalysis
- Added TalkerDetail report type (per-IP query type and protocol breakdown)
- TopTalkers/TopDomains: -Top now optional (omit for all results)
- TopTalkers/TopDomains: summary always shown, no switch needed
- Fixed ResponseCode scoping to response packets only (PacketKind=R)
- Added parse-phase and insert-phase progress bars with real percentage

v1.0.0 (2026-05-07)
- Initial release
- StreamReader + compiled regex parsing engine (2-5 min for 450MB file)
- SHA256 dedup via ImportLog table
- ForEach-Object -Parallel multi-file import (PS7)
- 9 pre-built statistical reports (Get-VBDNSLogStatistics)
- CSV, HTML, XLSX export (Export-VBDNSLogReport)

FileList

Version History

Version Downloads Last updated
1.1.1 (current version) 10 5/20/2026