Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update/Reload DNS Zone Records 1

Status
Not open for further replies.

a6m1n0

Programmer
Mar 7, 2005
233
US
Hello,
I am working on an ASP script that modifies DNS records so I do not have to do this manually. A problem I anticipate is forcing the DNS service to update and reload the zone records.

The server is a workgroup server, and I have a IIS website only accessible via localhost with a user that is in the Administrators Group, allowing ASP scripts access to things that typicaly you can't access from IIS.

Would I need to use WMI for this? If so does anyone know of any examples for this? I don't want to just restart the DNS service...I would like to interface with the DNS server itself if at all possible. Any help is greatly appreciated.

-a6m1n0

Curiosity only kills cats.
 
Very useful resources. Looks like the command I am looking for is:
Code:
dnscmd [servername] /zonereload sub.domain.tld
I will reply again with some code when it's complete.

Thanks,

-a6m1n0

Curiosity only kills cats.
 
Thanks Chris....don't know why I didn't think to look there. Still not finished with the code, but I will make good on my promise.

-a6m1n0

Curiosity only kills cats.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top