I'm creating a script that will dump the DNS zones in a windows server 2008 running plesk 12. Since windows can have either Microsoft DNS or BIND as the DNS server, they both have different methods to dump the zone files. Is there any reliable way to identify the current DNS server being used from the command line.
Here are the option i have now
1. Check the running process name to check if BIND or MS DNS - Not the best method
Any valuable suggestion will be greatly appreciated. Thank you.
Here are the option i have now
1. Check the running process name to check if BIND or MS DNS - Not the best method
Any valuable suggestion will be greatly appreciated. Thank you.