Solved

Add A-RECORD to DNS SERVER WITH .NET

Posted on 2003-10-28
5
655 Views
Last Modified: 2008-03-17
Hello, I was wondering if it is possible to add an A-RECORD to my DNS-Server in .NET (VB.NET or C#)... Or is there another way to accomplish this:

"I have a domain, lets say mydomain.com, and an asp.net website. Now I want users to be able to register therename.mydomain.com from my asp.net website, where therename.mydomain.com refers to there IP-adress." This have to happen in an internal LAN, not on the internet, but I guess it's pretty much the same procedure...

Thanks in advance for your help!
0
Comment
Question by:CuSo4
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:anthony_glenwright
ID: 9633508
I'm actually looking at doing this for a project I'm working on, but I haven't got as far as coding it yet.  Check out RFC 2136 and RFC 2137 at http://www.ietf.org/rfc.html.
0
 
LVL 4

Expert Comment

by:Xikilm
ID: 9634776
Which DNS server are you using?
0
 
LVL 2

Author Comment

by:CuSo4
ID: 9635163
I'm using the build-in DNS server in Windows 2003... That's why I though there might be a .NET class that would make this easy... (Just like adding Users to the active directory can easily be done...)
0
 
LVL 4

Accepted Solution

by:
Xikilm earned 150 total points
ID: 9635246
Hi CuDo4:

I'm not sure that you are going to find any direct examples for .Net.  However, it can be easily done with WMI.  So, research the System.Management and System.Management.Instrumentation namespaces.  They you can check out some the example WMI scripts:

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/ScriptCenter/network/Scnet145.asp
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/ScriptCenter/network/Scnet153.asp
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/ScriptCenter/network/Scnet152.asp
etc.

Put the two together and you should be able to add/modify/delete DNS records just as easy as Active Directory.  HTH.


-Xikilm
0
 
LVL 2

Author Comment

by:CuSo4
ID: 9635500
Thanks!
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Help 27 57
C# Gridview 1 45
SQL Server Connection String through a VPN 8 53
C#.net split string and then check appropriate checkboxlist 4 26
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question