Retrive WINS server details from a domian
-
2 มีนาคม 2555 18:23
We have 2003 environment. FFL/DFL are 2003 and no powershell is installed. Is there any way to pull the DNS server details from my domain?
Nidhin.CK System Analyst
ตอบทั้งหมด
-
2 มีนาคม 2555 8:27
Hi All,
In my organization we have lot of WINS servers placed in different sites. Due to non proper naming standards it is difficult to identify the WINS server details. Is there any command or any option to find the entire list of WINS servers in a Domain ??
Nidhin.CK System Analyst
- รวมโดย Bruce-LiuModerator 5 มีนาคม 2555 9:29 duplicate
-
2 มีนาคม 2555 9:12
Hello,
You can ask this question in windows powershell forum to get a script. There you might get an answer.
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
However you can follow the below thread which discuss the same problem.It might be helpful for you to understand this better.
Regards,
_Prashant_
MCSA|MCITP SA|Microsoft Exchange 2003 Blog - http://prashant1987.wordpress.com Disclaimer: This posting is provided AS-IS with no warranties/guarantees and confers no rights.
-
2 มีนาคม 2555 19:03
You have do not use Powershell yet you post the question in the Powershell forums, the irony... Anyway you also did not specify what kind of data you require. If you want to just know the ip of the dns server you can type ipconfig /all to see which DNS server you are connected to. If you want to see how the DNS server is configured you could type dnsmgmt.msc on the DNS server or a server with management tools installed and select the DNS server you want to manage.
If you want to script it, well then here is a site with five different scripts that can perform the following actions:
-
2 มีนาคม 2555 19:51
As this is not a Powershell problem, I suggest you post to the Official Scripting Guy's forum, here:
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
Grant Ward, a.k.a. Bigteddy
-
2 มีนาคม 2555 19:53PS: A WINS server is not the same as a DNS server. In the title of this thread, you refer to WINS, in the question to DNS.
Grant Ward, a.k.a. Bigteddy
-
2 มีนาคม 2555 20:04
While we are at it, you say from a domain ... Are you interested in information on domain joined computers?
If so, see http://gallery.technet.microsoft.com/Gather-DNS-settings-from-fec23eaa - that can be modified as needed.
Karl
My Blog: http://unlockpowershell.wordpress.com
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"}) -
3 มีนาคม 2555 0:58
Hi All, Sorry for the confusion :(
I'm looking for the WINS server names which is configured in my domain. Due to non proper naming standards im unable to find all the WINS servers which is installed in different site (more than 300). So i'm looking for an option to list all the WINS servers so that i can reconfigure it.
Nidhin.CK System Analyst
-
3 มีนาคม 2555 7:20
Alright then, here is what you can do to find WINS servers in your domain. There is no single query to just find them all so it involves some manual labor:
I would start by connecting to the "known" WINS servers using the WINS Admin tool. Take a look at the replication partners. Also, if you expand Active Registrations, Right Click and Delete Owners, you can see a list of all of the WINS servers that have registrations in the database you are looking at on that server.
I would also look at all of the DHCP scopes and see if any WINS server information is being used to configure your clients.
Additionally, you may have other WINS servers that are not participating in a replication topology, so you may have to do some port scanning and look for systems that respond on 42 (port used for replication) and 1512 (WINS server listens for client traffic).
When you get all of that worked out, this may be of some help for you.
-
3 มีนาคม 2555 9:17
In owner tab i could see hell lot of stale server details. Now i'm in the process of reduing the DNS servers in my environment.
What is that all server details in Ower tab? May be this is silly question.. I dont have much knowledge in WINS...
Is there anyway to delete those server details in a single shot. Now i'm able to delete server one by one.. and it is difficult the entire list.
Nidhin.CK System Analyst
-
3 มีนาคม 2555 10:01
I got the option :) But still the owner tab showing stale owner records :((
---------------------------------------------------------------------------------
delete owners [Servers=]{ListOfServerIPAddresses}[[Op=]{0 | 1}]
Parameters
- [ Servers=] {ListOfServerIPAddresses}
- Required. Specifies a list of the owner servers with records to delete. Identifies the servers by IP addresses that must be separated by commas and enclosed by braces ({}).
- [ Op=]{ 0| 1}
-
Indicates your option: 0-Tombstone (default), 1-Delete
---------------------------------------------------------------------------------
Nidhin.CK System Analyst
-
5 มีนาคม 2555 7:03
Hi Nidhin,
I see you already found the link with the Netsh commands, Netsh commands for WINS. Are you running into any problems running the commands and if so can you paste what you typed and what is not working?
-
8 มีนาคม 2555 21:34
Hi Jaap, Sorry for the delayed response..
I'm not getting any error message.. It is showing that command completed successfully.. But when i checked the owners tab i could see that same no stale records in owners tab.. actually it is not deleting..
This WINS server (where i executed this command) is also getting replication from other servers.. so do you thisnk is this is the problem ? or is there any other command to completily remove the records from owners tab?
Nidhin.CK System Analyst
-
8 มีนาคม 2555 21:41
Well the way wins works is by tombstoning records, this means the records are not actually deleted but placed as a tombstone. The tombstone then gets replicated to all other WINS servers and will be inactive from there on. This is because of the de-centralized nature of WINS replication. So I would recommend you tombstone the records before deleting them.
An article about deleting records from WINS: Deletion of WINS Database Records
And the overview article: http://technet.microsoft.com/en-us/library/cc961409.aspx
- เสนอเป็นคำตอบโดย Yan Li_Microsoft, Moderator 12 มีนาคม 2555 1:32
- ทำเครื่องหมายเป็นคำตอบโดย Yan Li_Microsoft, Moderator 13 มีนาคม 2555 1:11
-
8 มีนาคม 2555 22:27thanks a lot for your suggestion Jaap.. Let me tombstone the records and let you know the status.
Nidhin.CK System Analyst
-
12 มีนาคม 2555 1:32ผู้ดูแล
-
13 มีนาคม 2555 3:54
Hi jaap / Yan Li, Sorry for the delayed response..My testing will take time since this should go thorugh all change approval :)
If i have any doubts i will update in this thred..
Once again thanks a lot Jaap and every one for sharing your knowledge .. have a great day!
Nidhin.CK System Analyst