Use dnscmd or script to add subdomain

G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

I am trying to automate the creation of a subdomain with multiple SRV records for different instances of an application.

What I want is:
domain.com
--->Sub1.domain.com
--->Sub2.domain.com
--->Sub3.domain.com

But I can't seem to find a way to automate this. I have tried to use dnscmd, but only create new zones:
domain.com
Sub1.domain.com
Sub2.domain.com
Sub3.domain.com

Anyone have experience adding multiple subdomains, and not using the subdomain as multiple zones?

Thanks
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

In news:FDBB7D39-7A4E-40F0-B89F-E2CDD74A59DF@microsoft.com,
John Shaw <JohnShaw@discussions.microsoft.com> asked for help and I offered
my suggestions below:
> I am trying to automate the creation of a subdomain with multiple SRV
> records for different instances of an application.
>
> What I want is:
> domain.com
> --->Sub1.domain.com
> --->Sub2.domain.com
> --->Sub3.domain.com
>
> But I can't seem to find a way to automate this. I have tried to use
> dnscmd, but only create new zones:
> domain.com
> Sub1.domain.com
> Sub2.domain.com
> Sub3.domain.com
>
> Anyone have experience adding multiple subdomains, and not using the
> subdomain as multiple zones?
>
> Thanks

I haven't tried it, but you can check this out:
Manage Dns Via Script:
http://cwashington.netreach.net/depo/view.asp?Index=522&ScriptType=vbscript

At first glance it doesn't seem like it does it, but I just glanced thru it.



--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

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

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory

HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
--
=================================
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

In news:FDBB7D39-7A4E-40F0-B89F-E2CDD74A59DF@microsoft.com,
John Shaw <JohnShaw@discussions.microsoft.com> asked for help and I offered
my suggestions below:
> I am trying to automate the creation of a subdomain with multiple SRV
> records for different instances of an application.
>
> What I want is:
> domain.com
> --->Sub1.domain.com
> --->Sub2.domain.com
> --->Sub3.domain.com
>
> But I can't seem to find a way to automate this. I have tried to use
> dnscmd, but only create new zones:
> domain.com
> Sub1.domain.com
> Sub2.domain.com
> Sub3.domain.com
>
> Anyone have experience adding multiple subdomains, and not using the
> subdomain as multiple zones?
>
> Thanks

Look at this thread below. We're trying to look at this now, but not sure of
what the outcome will be.


From: <m8v316@discussions.microsoft.com>
Subject: DNS WMI Provider
Date: Fri, 9 Jul 2004 12:38:02 -0700

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

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

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Active Directory

HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
--
=================================