Couple ways:
1) Cheap way is to call nslookup or dig and do an xfr call on the zone and
parse the text output. You could also call nsupdate in same kind of way.
2) Install the dns provider, dnsprov.dll on w2k (w2k3 already has
dnsprov.dll.) and call using wmi. The dnsprov (in the res kit) has script
examples. In c# you use the System.Management calls to call wmi. You will
also want wmitools to view the wmi dns namespaces, method, structs, etc.
--
William Stacey, MVP
"RF" <ra*******@SPAMdialexia.com> wrote in message
news:el**************@TK2MSFTNGP11.phx.gbl...
Hi,
What api or wmi can I use to access forward zones and dns records from a
designated server. I 'm creating a gui app to display dns records/zone.
How can I accomplish this task?
Thanks,
RF