Question Performing DNS queries

elfranger

New member
Joined
Nov 13, 2008
Messages
4
Programming Experience
Beginner
Dear all, I am kind of new at this vb.net stuff... Been playing around and made some small apps to help me in my daily work as to look up stuff in AD from a single windows form, instead of using the built-in tools.

Anyways, I am looking for a way to read all forward and reverse lookup zones in DNS, and then remove a single server from the nameservers list for each zone.... This is an exersise we do everytime we demote a domain controller, and since we have a lot of zones in DNS it is very time consuming doing it manually... I have made a vbscript that basically does the trick using the dnscmd tool, but I haven't been able to get it to run silent so my computer is held up while the script is running as it pops up a cmd window for each zone...

I started looking in vb.net, but I am not familiar with what libraries to use... I found the System.Net one, but it seems to give me just limited DNS lookup capabilities...

Any ideas?
 
Back
Top