01 July 2009

SnapDNS – DNS Library for Microsoft DNS servers

Intro:
This isn’t so much an article as it is a free DNS management library and a demo project.

This Library makes updates to Microsoft DNS servers possible from .NET applications. The library supports the following record types: A, CNAME, MX, TXT, NS. ASP.NET DNS Manager

Some Details:
Included in the project is the snapDNS.dll this is the heart of the project it uses the System.Managment namespace to create DNS records in a Microsoft DNS server using WMI. Take note of the WMI configuration below it is probably the most crucial part to getting this working.


DEMO SETUP
Unzip the folder to the wwwroot folder and setup and web application version ASP.NET 1.14

WMI Config
Microsoft DNS Server 2000/2003, WMI Configured to allow ASP.NET user access.
http://msdn2.microsoft.com/en-us/library/aa384642.aspx this is to be done on either the same machine as the website or a separate server. I would recommend that for test purposes you put them on the same machine to avoid permission issues.

WMI Setup:

  • Click Computer Management
  • Click Services & Applications
  • Right Click WMI Control and go to properties
  • Click on the Security Tab
  • Expand the Root node.
  • Select MicrosoftDNS then click Security button.
  • Add the appropriate users. ASP.NET

Demo:
The demo version is unlimited. Please note that this is still a work in progress. If it attracts interest I will consider more development.

Download Demo.


0 comments:

Post a Comment