I need to decommission a 2008 server that was one of 4 DC's in the domain within the same subnet/site location. I was able to decom 2 others without issue for the most part but the last one I did caused issues with a few static devices 'losing internet' when their static assigned DNS server went missing.
I'm looking for a tool or a method of determining if a Windows DNS server is responding to client DNS requests. I also want to see if there was a way to determine with originating IP/subnet if possible as well.
This is a manual method, but you can query the server for simple statistics on PowerShell with
Get-DnsServerStatistics
command:You're interested in QueryStatistics, Query2Statistics and RecursionStatistics. But the command outputs a lot more.
You can watch this for connections on the server. If the numbers are too high and you're too tired to do the math you can wipe out the statistics with
Clear-DnsServerStatistics
.After this everything will be zeroed, get some time and look if something hits up on the server again with
Get-DnsServerStatistics
.Enable debug logging on the properties of the DNS server that will be decommissioned for: packet direction: incoming, packet contents: queries.
The IP address of the source will be included in the log.