I have current Windows DNS server which is hosting something around 500 standard (non-AD) zones. I need transfer all of them to the new server. I copied .dns files from C:\Windows\System32\DNS from current to new server. However, they didn't appear. I googled and found that I need to use dnscmd command to add zones from files. Syntax for one zone is very clear for me, it should be
dnscmd nsserver /zoneadd domain.com /primary /file C:\Windows\System32\DNS\domain.com.dns
However, what should I do to add 500 files? Thank you in advance.