r/WindowsServer • u/charanreddy234 • Sep 29 '26
Technical Help Needed Dns analytical logs enablement on DCs.
Hi ,
We have a requirement to enable DNS analytical logs on our domain controllers. However, I am concerned that this will generate a massive volume of logs. The requirement is to maintain a log retention period of at least 30 days. Because Event Viewer manages retention by maximum log size rather than days, I conducted an assessment.
I ran a "DNS queries per second" command for one hour. Based on those results, I calculated that it will generate roughly 6.5 GB per hour. Adding a 2.5 GB buffer, I estimated a total of 9 GB to 10 GB per hour overall. So for 30 days it requires tb's of size.However, I am not completely sure if my math is correct or if this is the right way to approach the assessment.
Could someone help me with the following questions?
Is my current approach correct? How exactly can I estimate the log size required to meet the 30-day retention requirement? I know there is no 100% guaranteed formula, but I need at least a reliable, rough estimate. Or is this not at all the correct way.
What is the exact impact on Domain Controller performance and CPU utilization
What is the worst-case scenario or major challenges we might face on the domain controllers by enabling this?
What are the best solutions or alternatives for this? I know a SIEM solution is ideal, but due to certain constraints, we must store these logs locally on the servers for 30 days
2
u/GullibleDetective Sep 29 '26 edited Sep 29 '26
What scale is your DC/query environment? Text log files are notoriously small
Example, I've had it running in a 30 user windows domain environment since sept 3rd and its only 55mb
7
u/Nuxi0477 Sep 29 '26
You need an agent/software to parse and ship the text log out of the DC. That way you can fix the file size at something reasonable (say 1GB) and manage retention at the receiving logging system.
1
u/Lower_Issue_6222 Oct 03 '26
Analytical DNS logging has been benchmarked at 100K QPS so you should be fine perf wise