Solved

Add A-RECORD to DNS SERVER WITH .NET

Posted on 2003-10-28
5
661 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
parsing JSON help 1 26
MailAddress in vb 4 36
Name Space error VS2015 1 36
locate sql commands in C# visual studio Project 6 41
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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