|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all,
Is there a way that we can find DNS settings of all member settings (DNS servers' IP addresses in the TCP/IP settings of memeber servers) instead of logging each member server to find it out? We are in windows 2K3 and w2K envir. and have around 250 servers. Thanks in advance. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hi
> Is there a way that we can find DNS settings of all member settings (DNS > servers' IP addresses in the TCP/IP settings of memeber servers) instead > of > logging each member server to find it out? Not sure I understand you but to find where a DNS zone is being stored (in which servers) check NS records. -- I hope that the information above s you Good Luck Jorge Silva MCSA Systems Administrator "Sally" <Sally@discussions.microsoft.com> wrote in message news:41A84BCC-B6FA-4928-8964-2418E0EE0485@microsoft.com... > Hi all, > > Is there a way that we can find DNS settings of all member settings (DNS > servers' IP addresses in the TCP/IP settings of memeber servers) instead > of > logging each member server to find it out? We are in windows 2K3 and w2K > envir. and have around 250 servers. > > Thanks in advance. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Thanks for your trying to and sorry about my unclear question even I can
not understand myself. The question is: Is there a way that we can find DNS server IP addresses of all member servers (in the TCP/IP settings of memeber servers) instead of logging on each member server to find it out? Thank you. "Jorge Silva" wrote: > Hi > > Is there a way that we can find DNS settings of all member settings (DNS > > servers' IP addresses in the TCP/IP settings of memeber servers) instead > > of > > logging each member server to find it out? > > Not sure I understand you but to find where a DNS zone is being stored (in > which servers) check NS records. > > > -- > I hope that the information above s you > > Good Luck > Jorge Silva > MCSA > Systems Administrator > > "Sally" <Sally@discussions.microsoft.com> wrote in message > news:41A84BCC-B6FA-4928-8964-2418E0EE0485@microsoft.com... > > Hi all, > > > > Is there a way that we can find DNS settings of all member settings (DNS > > servers' IP addresses in the TCP/IP settings of memeber servers) instead > > of > > logging each member server to find it out? We are in windows 2K3 and w2K > > envir. and have around 250 servers. > > > > Thanks in advance. > > > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"Sally" <Sally@discussions.microsoft.com> wrote in message
news:B42A5280-C9CB-4998-B125-296129EA31D9@microsoft.com... > Thanks for your trying to and sorry about my unclear question even I > can > not understand myself. > > The question is: Is there a way that we can find DNS server IP addresses > of all member servers (in the TCP/IP settings of memeber servers) instead > of > logging on each member server to find it out? > I think you are (and origianlly, were) asking if you can run something REMOTELY to get the IP configuration of (a lot of) machines, especially the DNS server setting? If so, yes you can do it but not (trivially*) with anything built-in. Download the PSutils, especially the PSExec.exe program from SysInternals.com. Run this PSExec and then parse the results: psexec \\ComputerName ipconfig /all Assuming you have a text file of all computer names then this can work: for /f %a in (CompNames.txt) do psexec \\%a ipconfig /all >>configs.txt You'll still have to parse the results (Perl is ideal for this but you can do it with any language if you are willing to work hard enough, and maybe even with built-in tools but getting the "computer name" AND the DNS settints -- all of them -- together will be a lot of trouble.) *Built-in but perhaps Non-trivial answer: Do it from a startup batch file, sending the output to a central server share: set DNSfile=\\Server\Share\DNSsettings\%computername% if not exist %DNSfile% ipconfig /all >%DNSfile% Advantage: You don't need a list of all the computer names Disadvantages: You have to wait for each computer to reboot (and eventually you have to remove the batch file) Oh, and you still have to parse the output. (Did I mention Perl?) -- Herb Martin, MCSE, MVP Accelerated MCSE http://www.LearnQuick.Com [phone number on web site] > Thank you. > > > > "Jorge Silva" wrote: > >> Hi >> > Is there a way that we can find DNS settings of all member settings >> > (DNS >> > servers' IP addresses in the TCP/IP settings of memeber servers) >> > instead >> > of >> > logging each member server to find it out? >> >> Not sure I understand you but to find where a DNS zone is being stored >> (in >> which servers) check NS records. >> >> >> -- >> I hope that the information above s you >> >> Good Luck >> Jorge Silva >> MCSA >> Systems Administrator >> >> "Sally" <Sally@discussions.microsoft.com> wrote in message >> news:41A84BCC-B6FA-4928-8964-2418E0EE0485@microsoft.com... >> > Hi all, >> > >> > Is there a way that we can find DNS settings of all member settings >> > (DNS >> > servers' IP addresses in the TCP/IP settings of memeber servers) >> > instead >> > of >> > logging each member server to find it out? We are in windows 2K3 and >> > w2K >> > envir. and have around 250 servers. >> > >> > Thanks in advance. >> >> >> |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Herb Martin wrote:
> Download the PSutils, especially the PSExec.exe program from > SysInternals.com. Run this PSExec and then parse the results: > > psexec \\ComputerName ipconfig /all > Ah yes, Herb, all the PSTools are really cool, and free! -- Best regards, Kevin D. Goodknecht Sr. [MVP] Hope This s =================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue, to respond directly to me remove the nospam. from my email address. =================================== http://www.lonestaramerica.com/ http://support.wftx.us/ http://message.wftx.us/ =================================== Use Outlook Express?... Get OE_Quotefix: It will strip signature out and more http://home.in.tum.de/~jain/software/oe-quotefix/ =================================== Keep a back up of your OE settings and folders with OEBackup: http://www.oe.com/OEBackup/Default.aspx =================================== |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Thank you for your geat and it works like a charm.
"Herb Martin" wrote: > "Sally" <Sally@discussions.microsoft.com> wrote in message > news:B42A5280-C9CB-4998-B125-296129EA31D9@microsoft.com... > > Thanks for your trying to and sorry about my unclear question even I > > can > > not understand myself. > > > > The question is: Is there a way that we can find DNS server IP addresses > > of all member servers (in the TCP/IP settings of memeber servers) instead > > of > > logging on each member server to find it out? > > > > I think you are (and origianlly, were) asking if you can run > something REMOTELY to get the IP configuration of (a lot of) > machines, especially the DNS server setting? > > If so, yes you can do it but not (trivially*) with anything built-in. > > Download the PSutils, especially the PSExec.exe program from > SysInternals.com. Run this PSExec and then parse the results: > > psexec \\ComputerName ipconfig /all > > Assuming you have a text file of all computer names then this can > work: > > for /f %a in (CompNames.txt) do psexec \\%a ipconfig /all >>configs.txt > > You'll still have to parse the results (Perl is ideal for this but you can > do > it with any language if you are willing to work hard enough, and maybe > even with built-in tools but getting the "computer name" AND the DNS > settints -- all of them -- together will be a lot of trouble.) > > *Built-in but perhaps Non-trivial answer: > Do it from a startup batch file, sending the output to a central server > share: > > set DNSfile=\\Server\Share\DNSsettings\%computername% > if not exist %DNSfile% ipconfig /all >%DNSfile% > > Advantage: You don't need a list of all the computer names > Disadvantages: You have to wait for each computer to reboot > (and eventually you have to remove the batch > file) > > Oh, and you still have to parse the output. (Did I mention Perl?) > > -- > Herb Martin, MCSE, MVP > Accelerated MCSE > http://www.LearnQuick.Com > [phone number on web site] > > > > Thank you. > > > > > > > > "Jorge Silva" wrote: > > > >> Hi > >> > Is there a way that we can find DNS settings of all member settings > >> > (DNS > >> > servers' IP addresses in the TCP/IP settings of memeber servers) > >> > instead > >> > of > >> > logging each member server to find it out? > >> > >> Not sure I understand you but to find where a DNS zone is being stored > >> (in > >> which servers) check NS records. > >> > >> > >> -- > >> I hope that the information above s you > >> > >> Good Luck > >> Jorge Silva > >> MCSA > >> Systems Administrator > >> > >> "Sally" <Sally@discussions.microsoft.com> wrote in message > >> news:41A84BCC-B6FA-4928-8964-2418E0EE0485@microsoft.com... > >> > Hi all, > >> > > >> > Is there a way that we can find DNS settings of all member settings > >> > (DNS > >> > servers' IP addresses in the TCP/IP settings of memeber servers) > >> > instead > >> > of > >> > logging each member server to find it out? We are in windows 2K3 and > >> > w2K > >> > envir. and have around 250 servers. > >> > > >> > Thanks in advance. > >> > >> > >> > > > |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
"Sally" <Sally@discussions.microsoft.com> wrote in message
news:6AD53D9A-80FE-4026-8C19-716CE9CD1714@microsoft.com... > Thank you for your geat and it works like a charm. > Glad to so you are very welcome. Pass on the to someone else who needs it. <grin> How did you end up parsing the results or did you just use the output for review "as is"? -- Herb Martin, MCSE, MVP Accelerated MCSE http://www.LearnQuick.Com [phone number on web site] > "Herb Martin" wrote: > >> "Sally" <Sally@discussions.microsoft.com> wrote in message >> news:B42A5280-C9CB-4998-B125-296129EA31D9@microsoft.com... >> > Thanks for your trying to and sorry about my unclear question even >> > I >> > can >> > not understand myself. >> > >> > The question is: Is there a way that we can find DNS server IP >> > addresses >> > of all member servers (in the TCP/IP settings of memeber servers) >> > instead >> > of >> > logging on each member server to find it out? >> > >> >> I think you are (and origianlly, were) asking if you can run >> something REMOTELY to get the IP configuration of (a lot of) >> machines, especially the DNS server setting? >> >> If so, yes you can do it but not (trivially*) with anything built-in. >> >> Download the PSutils, especially the PSExec.exe program from >> SysInternals.com. Run this PSExec and then parse the results: >> >> psexec \\ComputerName ipconfig /all >> >> Assuming you have a text file of all computer names then this can >> work: >> >> for /f %a in (CompNames.txt) do psexec \\%a ipconfig /all >> >>configs.txt >> >> You'll still have to parse the results (Perl is ideal for this but you >> can >> do >> it with any language if you are willing to work hard enough, and maybe >> even with built-in tools but getting the "computer name" AND the DNS >> settints -- all of them -- together will be a lot of trouble.) >> >> *Built-in but perhaps Non-trivial answer: >> Do it from a startup batch file, sending the output to a central server >> share: >> >> set DNSfile=\\Server\Share\DNSsettings\%computername% >> if not exist %DNSfile% ipconfig /all >%DNSfile% >> >> Advantage: You don't need a list of all the computer names >> Disadvantages: You have to wait for each computer to reboot >> (and eventually you have to remove the batch >> file) >> >> Oh, and you still have to parse the output. (Did I mention Perl?) >> >> -- >> Herb Martin, MCSE, MVP >> Accelerated MCSE >> http://www.LearnQuick.Com >> [phone number on web site] >> >> >> > Thank you. >> > >> > >> > >> > "Jorge Silva" wrote: >> > >> >> Hi >> >> > Is there a way that we can find DNS settings of all member settings >> >> > (DNS >> >> > servers' IP addresses in the TCP/IP settings of memeber servers) >> >> > instead >> >> > of >> >> > logging each member server to find it out? >> >> >> >> Not sure I understand you but to find where a DNS zone is being stored >> >> (in >> >> which servers) check NS records. >> >> >> >> >> >> -- >> >> I hope that the information above s you >> >> >> >> Good Luck >> >> Jorge Silva >> >> MCSA >> >> Systems Administrator >> >> >> >> "Sally" <Sally@discussions.microsoft.com> wrote in message >> >> news:41A84BCC-B6FA-4928-8964-2418E0EE0485@microsoft.com... >> >> > Hi all, >> >> > >> >> > Is there a way that we can find DNS settings of all member settings >> >> > (DNS >> >> > servers' IP addresses in the TCP/IP settings of memeber servers) >> >> > instead >> >> > of >> >> > logging each member server to find it out? We are in windows 2K3 >> >> > and >> >> > w2K >> >> > envir. and have around 250 servers. >> >> > >> >> > Thanks in advance. >> >> >> >> >> >> >> >> >> |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
> How did you end up parsing the results or did you just use the
> output for review "as is"? Acutally, I just need the output for review. I want to find out which server is still using the old windows 2000 DNS servers as I am going to demote/retire windows 2000 DCs. If I find out quite a few servers do not use right windows 2003 DNS servers, can I use this utility to change DNS settings of member servers remotely? Thank you very much. "Herb Martin" wrote: > "Sally" <Sally@discussions.microsoft.com> wrote in message > news:6AD53D9A-80FE-4026-8C19-716CE9CD1714@microsoft.com... > > Thank you for your geat and it works like a charm. > > > > Glad to so you are very welcome. Pass on the > to someone else who needs it. <grin> > > How did you end up parsing the results or did you just use the > output for review "as is"? > > > -- > Herb Martin, MCSE, MVP > Accelerated MCSE > http://www.LearnQuick.Com > [phone number on web site] > > > "Herb Martin" wrote: > > > >> "Sally" <Sally@discussions.microsoft.com> wrote in message > >> news:B42A5280-C9CB-4998-B125-296129EA31D9@microsoft.com... > >> > Thanks for your trying to and sorry about my unclear question even > >> > I > >> > can > >> > not understand myself. > >> > > >> > The question is: Is there a way that we can find DNS server IP > >> > addresses > >> > of all member servers (in the TCP/IP settings of memeber servers) > >> > instead > >> > of > >> > logging on each member server to find it out? > >> > > >> > >> I think you are (and origianlly, were) asking if you can run > >> something REMOTELY to get the IP configuration of (a lot of) > >> machines, especially the DNS server setting? > >> > >> If so, yes you can do it but not (trivially*) with anything built-in. > >> > >> Download the PSutils, especially the PSExec.exe program from > >> SysInternals.com. Run this PSExec and then parse the results: > >> > >> psexec \\ComputerName ipconfig /all > >> > >> Assuming you have a text file of all computer names then this can > >> work: > >> > >> for /f %a in (CompNames.txt) do psexec \\%a ipconfig /all > >> >>configs.txt > >> > >> You'll still have to parse the results (Perl is ideal for this but you > >> can > >> do > >> it with any language if you are willing to work hard enough, and maybe > >> even with built-in tools but getting the "computer name" AND the DNS > >> settints -- all of them -- together will be a lot of trouble.) > >> > >> *Built-in but perhaps Non-trivial answer: > >> Do it from a startup batch file, sending the output to a central server > >> share: > >> > >> set DNSfile=\\Server\Share\DNSsettings\%computername% > >> if not exist %DNSfile% ipconfig /all >%DNSfile% > >> > >> Advantage: You don't need a list of all the computer names > >> Disadvantages: You have to wait for each computer to reboot > >> (and eventually you have to remove the batch > >> file) > >> > >> Oh, and you still have to parse the output. (Did I mention Perl?) > >> > >> -- > >> Herb Martin, MCSE, MVP > >> Accelerated MCSE > >> http://www.LearnQuick.Com > >> [phone number on web site] > >> > >> > >> > Thank you. > >> > > >> > > >> > > >> > "Jorge Silva" wrote: > >> > > >> >> Hi > >> >> > Is there a way that we can find DNS settings of all member settings > >> >> > (DNS > >> >> > servers' IP addresses in the TCP/IP settings of memeber servers) > >> >> > instead > >> >> > of > >> >> > logging each member server to find it out? > >> >> > >> >> Not sure I understand you but to find where a DNS zone is being stored > >> >> (in > >> >> which servers) check NS records. > >> >> > >> >> > >> >> -- > >> >> I hope that the information above s you > >> >> > >> >> Good Luck > >> >> Jorge Silva > >> >> MCSA > >> >> Systems Administrator > >> >> > >> >> "Sally" <Sally@discussions.microsoft.com> wrote in message > >> >> news:41A84BCC-B6FA-4928-8964-2418E0EE0485@microsoft.com... > >> >> > Hi all, > >> >> > > >> >> > Is there a way that we can find DNS settings of all member settings > >> >> > (DNS > >> >> > servers' IP addresses in the TCP/IP settings of memeber servers) > >> >> > instead > >> >> > of > >> >> > logging each member server to find it out? We are in windows 2K3 > >> >> > and > >> >> > w2K > >> >> > envir. and have around 250 servers. > >> >> > > >> >> > Thanks in advance. > >> >> > >> >> > >> >> > >> > >> > >> > > > |
|
![]() |
| Outils de la discussion | |
|
|