Editing entries of a DNS server


I need to create an app running on a machine where a DNS server is running.  I want to be able to edit DNS entries in the server using my app.

Where should I start ?

Thanks :)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

for Win2k/XP, it can be found from the registry (space delimited):


So, you may edit it using your software.
qasAuthor Commented:
Thanks for the response but I dont think this is what I need.  I really don't know how this actually works though (I'm more of a programmer than a network guy :) so maybe you are right but let me try to be clearer.

The application I want to build will be running on a machine which actual runs  the DNS Server.  This Server should normally map IP adresses with Domain Names so I want to be able to edit those mapping by code.

Where should I look first ?
Ah. The registry settings above only changes the DNS server for lookup. Not what you need, obviously.

What DNS Server software are you using? Perhaps the documentation of the software will tell you more about it?
Assuming you are speaking of windows 2000 or 2003 server DNS you can modify it with a tool available in the resource kit.

http://www.petri.co.il/download_free_reskit_tools.htm - Get DNSCMD

You may need the 2003 server resource kit if you are running it, this one is for 2000 server.
You can do these types of functions (& many more I guessed these functions are what you are shooting for). You can create the cmd line dynamically and shell the CMD. That is how I used it.
        /EnumZones            -- Enumerate zones
        /ZoneAdd              -- Create a new zone on the DNS server
        /ZoneDelete           -- Delete a zone from DNS server or DS
        /ZonePause            -- Pause a zone
        /ZoneResume           -- Resume a zone
        /ZoneReload           -- Reload zone from its database (file or DS)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
qasAuthor Commented:
Thanks :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.