Is there any way to create DNS entries programatically?

  • Thread starter Thread starter Neo
  • Start date Start date
N

Neo

I see there are a bunch of Dns* APIs in MSND Platform SDK documentaton.
But there are not samples. It's too hard to start with those cryptic
APIs. Can anyone give me some samples?
 
DNSCmd is a batch method. It does it so theoretically you
can do it with API calls.
 
WMI or ADSI is the way to do it so far. If you use .Net and c# I have some
examples. If you use c++, don't have any examples, buy you could find some
on google I would think. For WMI to work, you need the dns wmi provider
installed on the dns server you want to manage. This registers the
namespaces, etc. They have many examples use vbscript in the dnsprov pack.
I think it is in the w2k rez kit. You can also get it off the MS site if
you look for wmi and dns.
 
Hi,

Could you post a link to those samples? I am trying to manipulate th
DNS server using C# and some samples would be much appreciated


-
korendi
 
Back
Top