How to check the DNS zone status from the list of servers

By | November 8, 2009

Check the DNS zone status from the list of servers

If you are using the windows DNS server and it’s not AD integrated then it’s a primary and secondary concept, in this zone will not be replicated automatically you have to create manually an each server, if you want to check the zone status on all the servers then you have to login to each server and check the zone status or you can use the below command, to simplify the work

For /f %a in (list.txt) do dnscmd %a /zoneinfo zonename >> output.txt

This command will check all the servers in the input file (list.txt) for the zonename and store the output in output.txt file

Note: run this command from where the input file (list.txt) there
Example: if you have the user list in c:temp then you have to run this command from there, this will create and store the output in output.txt file

 

Leave a Reply

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