PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms..win.server.scripting > Modifying DNS entries via scripting
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Modifying DNS entries via scripting

Réponse
 
LinkBack Outils de la discussion
Vieux 28/11/2007, 17h52   #1
Dave Navarro
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Modifying DNS entries via scripting

Can someone point me to some code examples for interacting with MS DNS
server through scripting?

I need the ability to add/modify/remove DNS entries on our server
without logging into that server remotely and using the GUI.

Thanks!

--Dave
  Réponse avec citation
Vieux 28/11/2007, 18h06   #2
Pegasus \(MVP\)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Modifying DNS entries via scripting

Answered in a different newsgroup.

http://www.blakjak.demon.co.uk/mul_crss.htm


"Dave Navarro" <dave@no.way.dude> wrote in message
news:MPG.21b766c2911d551a98968f@msnews.microsoft.c om...
> Can someone point me to some code examples for interacting with MS DNS
> server through scripting?
>
> I need the ability to add/modify/remove DNS entries on our server
> without logging into that server remotely and using the GUI.
>
> Thanks!
>
> --Dave



  Réponse avec citation
Vieux 28/11/2007, 18h09   #3
Pegasus \(MVP\)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Modifying DNS entries via scripting


"Dave Navarro" <dave@no.way.dude> wrote in message
news:MPG.21b766c2911d551a98968f@msnews.microsoft.c om...
> Can someone point me to some code examples for interacting with MS DNS
> server through scripting?
>
> I need the ability to add/modify/remove DNS entries on our server
> without logging into that server remotely and using the GUI.
>
> Thanks!
>
> --Dave


Please ignore my previous reply - I got confused.

You could use psexec.exe (www.sysinternals.com) to invoke this
command on your server:

netsh interface ip set dns . . .


  Réponse avec citation
Vieux 28/11/2007, 18h55   #4
Dave Navarro
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Modifying DNS entries via scripting

In article <eqUMqmeMIHA.2140@TK2MSFTNGP03.phx.gbl>, I.can@fly.com
says...
>
> "Dave Navarro" <dave@no.way.dude> wrote in message
> news:MPG.21b766c2911d551a98968f@msnews.microsoft.c om...
> > Can someone point me to some code examples for interacting with MS DNS
> > server through scripting?
> >
> > I need the ability to add/modify/remove DNS entries on our server
> > without logging into that server remotely and using the GUI.
> >
> > Thanks!
> >
> > --Dave

>
> Please ignore my previous reply - I got confused.
>
> You could use psexec.exe (www.sysinternals.com) to invoke this
> command on your server:
>
> netsh interface ip set dns . . .


So the only realistic way is using DNSCMD? I was hoping to create a
simple interface using a VBS script for people in my department to add
new subdomains to our primary domain and modifying the existing
subdomain entries.

Right now I have to handle it all manually and it's a PITA
  Réponse avec citation
Vieux 28/11/2007, 19h23   #5
Pegasus \(MVP\)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Modifying DNS entries via scripting


"Dave Navarro" <dave@no.way.dude> wrote in message
news:MPG.21b775944e0a9128989692@msnews.microsoft.c om...
> In article <eqUMqmeMIHA.2140@TK2MSFTNGP03.phx.gbl>, I.can@fly.com
> says...
>>
>> "Dave Navarro" <dave@no.way.dude> wrote in message
>> news:MPG.21b766c2911d551a98968f@msnews.microsoft.c om...
>> > Can someone point me to some code examples for interacting with MS DNS
>> > server through scripting?
>> >
>> > I need the ability to add/modify/remove DNS entries on our server
>> > without logging into that server remotely and using the GUI.
>> >
>> > Thanks!
>> >
>> > --Dave

>>
>> Please ignore my previous reply - I got confused.
>>
>> You could use psexec.exe (www.sysinternals.com) to invoke this
>> command on your server:
>>
>> netsh interface ip set dns . . .

>
> So the only realistic way is using DNSCMD? I was hoping to create a
> simple interface using a VBS script for people in my department to add
> new subdomains to our primary domain and modifying the existing
> subdomain entries.
>
> Right now I have to handle it all manually and it's a PITA


Hmm. Users playing around with primary domains, subdomains
and DNS settings. Sounds like a recipe for disaster.


  Réponse avec citation
Vieux 28/11/2007, 22h04   #6
Dave Navarro
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Modifying DNS entries via scripting

In article <OholVQfMIHA.5208@TK2MSFTNGP04.phx.gbl>, I.can@fly.com
says...
>
> "Dave Navarro" <dave@no.way.dude> wrote in message
> news:MPG.21b775944e0a9128989692@msnews.microsoft.c om...
> > In article <eqUMqmeMIHA.2140@TK2MSFTNGP03.phx.gbl>, I.can@fly.com
> > says...
> >>
> >> "Dave Navarro" <dave@no.way.dude> wrote in message
> >> news:MPG.21b766c2911d551a98968f@msnews.microsoft.c om...
> >> > Can someone point me to some code examples for interacting with MS DNS
> >> > server through scripting?
> >> >
> >> > I need the ability to add/modify/remove DNS entries on our server
> >> > without logging into that server remotely and using the GUI.
> >> >
> >> > Thanks!
> >> >
> >> > --Dave
> >>
> >> Please ignore my previous reply - I got confused.
> >>
> >> You could use psexec.exe (www.sysinternals.com) to invoke this
> >> command on your server:
> >>
> >> netsh interface ip set dns . . .

> >
> > So the only realistic way is using DNSCMD? I was hoping to create a
> > simple interface using a VBS script for people in my department to add
> > new subdomains to our primary domain and modifying the existing
> > subdomain entries.
> >
> > Right now I have to handle it all manually and it's a PITA

>
> Hmm. Users playing around with primary domains, subdomains
> and DNS settings. Sounds like a recipe for disaster.


Hehe. I should qualify that, I guess.

We have 4 support programmers that need to add new subdomains when we
sign a new client. They don't know much about DNS server and I don't
want to give them access to our DNS server.

What I want is a simple script (or web page) that allows them to add a
new subdomain, remove an existing subdomain or modify an existing
subdomain and that's it.

--Dave
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h22.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14422 seconds with 14 queries