Read-only DNS health check for an Active Directory forest. Verifies DCs run the DNS Server role, audits DC NIC client settings, validates forwarders, walks every forward and reverse zone, and flags Microsoft DNS best-practice deviations — producing a styled HTML report, a findings CSV, and four detail CSVs.
WinRM is not required — all remote queries use CIM-over-DCOM (Win32_NetworkAdapterConfiguration for NIC settings; the DnsServer module via CIM session for server / zone / forwarder data). Reports default to a AD-DNS-HealthCheck-Reports\ subdirectory under the script’s folder; historical reports accumulate.
Opens github.com/rt109048/Invoke-ADDNSHealthCheck in a new tab
PROVIDED AS IS. Free, open-source utility intended for experienced administrators. Always test in a non-production lab environment before running anywhere that matters. By downloading and running this script you accept full responsibility for the outcome — the author accepts no liability for any direct or indirect damage caused by use, misuse, or modification.
Copyright © 2026 ITC Technology
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Open to advisory, contract and permanent opportunities involving Active Directory, Entra ID, identity governance, or zero-trust programmes. The best way to reach me is by email.