Manage DNS zones with Powershell
DNS forwarder setting healthcheck

To keep your environment/infrastructure clean and up-to-date, it is important to perform some healthcheck.

The following simple Powershell cmdlet will discover and test the configured DNS forwarders on your Active Directory

Get-DnsServerForwarder > Gets forwarder configuration settings on a DNS server.

____________

If you run the previous cmdlet on one of your AD domain controller, you will get the list of your DNS forwarder.

To check if there are still alive/valid you can test the DNS port (port 53) on each of them with this mini-script

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By : XYZScripts.com
%d bloggers like this: