|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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 Answered in a different newsgroup.
http://www.blakjak.demon.co.uk/mul_crss.htm Show quote "Dave Navarro" <d***@no.way.dude> wrote in message news:MPG.21b766c2911d551a98968f@msnews.microsoft.com... > 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 "Dave Navarro" <d***@no.way.dude> wrote in message Please ignore my previous reply - I got confused.news:MPG.21b766c2911d551a98968f@msnews.microsoft.com... > 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 You could use psexec.exe (www.sysinternals.com) to invoke this command on your server: netsh interface ip set dns . . . In article <eqUMqmeMIHA.2***@TK2MSFTNGP03.phx.gbl>, I.***@fly.com
says... Show quote > So the only realistic way is using DNSCMD? I was hoping to create a > "Dave Navarro" <d***@no.way.dude> wrote in message > news:MPG.21b766c2911d551a98968f@msnews.microsoft.com... > > 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 . . . 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 :) Show quote
"Dave Navarro" <d***@no.way.dude> wrote in message Hmm. Users playing around with primary domains, subdomainsnews:MPG.21b775944e0a9128989692@msnews.microsoft.com... > In article <eqUMqmeMIHA.2***@TK2MSFTNGP03.phx.gbl>, I.***@fly.com > says... >> >> "Dave Navarro" <d***@no.way.dude> wrote in message >> news:MPG.21b766c2911d551a98968f@msnews.microsoft.com... >> > 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 :) and DNS settings. Sounds like a recipe for disaster. In article <OholVQfMIHA.5***@TK2MSFTNGP04.phx.gbl>, I.***@fly.com
says... Show quote > Hehe. I should qualify that, I guess.> "Dave Navarro" <d***@no.way.dude> wrote in message > news:MPG.21b775944e0a9128989692@msnews.microsoft.com... > > In article <eqUMqmeMIHA.2***@TK2MSFTNGP03.phx.gbl>, I.***@fly.com > > says... > >> > >> "Dave Navarro" <d***@no.way.dude> wrote in message > >> news:MPG.21b766c2911d551a98968f@msnews.microsoft.com... > >> > 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. 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 |
|||||||||||||||||||||||