Programming a DNS Server

  • Thread starter Thread starter Aussie Rules
  • Start date Start date
A

Aussie Rules

Hi,

I am trying to workout a way to have an application create/edit/delete dns
entries on a windows 2003 DNS server.

Is there a way to communicate with the DNS server programaticly to do this ?

Thanks!
 
If the DNS server is reading zone data from a zone file, it is plain text,
which can be modified at will...

Aussie Aussie Aussie Oi Oi Oi ;)
 
Hi Aussie,

Thanks for posting here.

I would like to know why you need an application to create/edit/delete DNS
entries. I ask this because as far as I know, before you edit the DNS
database manually or via a third-party utility, you have to stop the DNS
server first.

If you just would like to manage the DNS server remotely, you may install
Windows Server 2003 Service Pack 1 Administration Tools Pack on any XP SP2
client, and then use the DNS snap-in. You may download the Admin Tools
Pack from:

<http://www.microsoft.com/downloads/details.aspx?FamilyID=E487F885-F0C7-436A
-A392-25793A25BAD7&displaylang=en>

If you just would like to know how to communicate with the DNS server
programmatically, this appears to be a Development related request and
would best be addressed in the Developer newsgroups. I have provided the
link below:

<http://msdn.microsoft.com/newsgroups/default.asp>

Or you may ask for developer support:
<http://support.microsoft.com/directory/directory/phonepro.asp?sd=msdn>

Hope this helps!

Have a nice day!

Sincerely,
Tom Che
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
Hi,

We have an internal reason for wanting to manage our DNS entries. We want a
DNS server(authoritative-only) where we can create our own DNS records, and
there are many DNS servers on the market (www.powerdns.com) that store there
data in a database that are an option. You can just update the database via
an tool, and the DNS records are updated.

Most of these are non windows based, and we have good knowledge in the
Windows DNS server, and we are willing to develop around the Windoes DNS
server if its an option.

I have found some scripts
(http://www.microsoft.com/technet/scriptcenter/scripts/network/dns/records/default.mspx)
that would possibly do what we are trying to do, but looking for advice from
others before we go down this path.

Rather have a proper .Net application do this work for us.

Thanks


(sorry for x posting, but sometimes its hard to workout, which group is for
what)...
 
In
Aussie Rules said:
Hi,

We have an internal reason for wanting to manage our DNS entries. We
want a DNS server(authoritative-only) where we can create our own DNS
records, and there are many DNS servers on the market
(www.powerdns.com) that store there data in a database that are an
option. You can just update the database via an tool, and the DNS
records are updated.
Most of these are non windows based, and we have good knowledge in the
Windows DNS server, and we are willing to develop around the Windoes
DNS server if its an option.

I have found some scripts
(http://www.microsoft.com/technet/scriptcenter/scripts/network/dns/records/default.mspx)
that would possibly do what we are trying to do, but looking for
advice from others before we go down this path.

Rather have a proper .Net application do this work for us.

Thanks


(sorry for x posting, but sometimes its hard to workout, which group
is for what)...

(I posted this to both groups)\

Actually it would have been to your benefit to x-post, but you multi-posted.
The difference is if x-posted, responses from any of the groups x-posted
into, would have gone to all groups simulaneously and all you would need to
do is check one of the groups.

Anyway, I'm not a programmer, but I think you may want to look at WMI to
programmatically manage DNS:

WMI Scripting Primer- Part 1:
http://msdn.microsoft.com/library/en-us/dnclinic/html/scripting06112002.asp

WMI DNS and namespace Scripting Primer Part 2:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting08132002.asp

Download details WMI Administrative Tools:
http://www.microsoft.com/downloads/...FamilyID=6430F853-1120-48DB-8CC5-F2ABDC3ED314


--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

If this post is viewed at a non-Microsoft community website, and you were to
respond to it through that community's website, I may not see your reply
unless that website posts replies back to the original Microsoft forum.
Therefore, please direct all replies ONLY to the Microsoft public newsgroup
this thread originated in so all can benefit or ensure the web community
posts it back to the original forum.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Windows Server Directory Services
Microsoft Certified Trainer
Infinite Diversities in Infinite Combinations.
=================================
 
Since you asked this, I (sort of) had a need to do this myself. There is
some info in an SDK - I can find which one tomorrow if you want - just email
me and I will find it.

The problem for me is that it seems like it is only for C - not VB - depends
what you can write in...
 
Back
Top