I was delighted in 2000 when I attended an MCSE upgrade course from NT4 – 2000. “And the best news is, you won’t need to use WINS in your new environment!”
Microsoft made a resolution to do away with NetBIOS Name Resolution and to move to dramatically more scalable naming using DNS.
It’s now 2010 [as of the writing of this article] and I am still thrilled with enthusiastic expectations of this prospect while simultaneously pleased I didn’t hold my breath. In this article, I will give you all the reasons you should continue using WINS. I will end with a resolution to easily get rid of it forever.
Firstly, the acronym WINS stands for Windows Internet Name Space. Here’s a clue – the Internet does NOT use this namespace. It uses hierarchical DNS FQDNs (Fully Qualified Domain Names [aka host names]) such as http://blog.robsilver.org. WINS resolves NetBIOS Names to IP Addresses (like a phone book is used to find the telephone number of the nearest trustworthy second hand car dealer).
NetBIOS (Network Basic Input/Output System) Names are single names without context (like Server as opposed to Server.ABCInc.com). NetBIOS is an API (Application Programming Interface) and not a protocol in and of itself and generally runs over TCP/IP (NetBIOS over TCP/IP [NBT]) at the session layer. It has been run over different protocols historically such as IBM’s NetBEUI (NetBIOS Extended User Interface – [an often misunderstood protocol and confused with NetBIOS itself amongst networking professionals today] later adopted by Microsoft), Microsoft’s MS-Net and Novel’s NetBIOS over IPX/SPX (NBX).
I am often asked, “Why do we need WINS today?” Well, you only need WINS if one of the following is true:
- Multiple Subnets – Broadcast NetBIOS name resolution won’t work here. In a single subnet, broadcast NetBIOS Name resolution will work [caveat – most admins will tell you to reduce broadcasts – once again, you will need WINS]. Unless you feel like using LMHosts files on each computer on the network.
- Exchange 2000/2003 (if you can do without the following features) (http://support.microsoft.com/kb/837391)
- Setup
- ExMerge
- Password reset through OWA
- Mixed 2000/2003 environment
- Outlook earlier than 2003
- Network Browsing using Network Neighbourhood
- Use of the Browser Service
- NetBIOS over TCP/IP enabled on any NICs
- NetBIOS names referenced anywhere such as \\Server1\Share instead of \\Servers.domain.local\share. This includes
- Logon Scripts
- Applications
- Mapped Network Drives
- Et al
DNS Suffixes
One feature which aides in the removal of the dependency of WINS is DNS Suffixes. For example, when looking for \\server1, your PC will add a suffix/(or ordered list of suffixes) to the single-label name and query through the list of suffixes against a DNS server (e.g. Server1.mydomain.com). GPO can be used for the deployment of the list of suffixes used on clients.
However, there is no guarantee that the single-label name is unique to each zone which may result is you accessing the wrong \\server1. Also, the DNS queries through the list of suffixes will timeout after 12 seconds. Therefore, the use of DNS Suffixes in large, multi-zone environments is limited.
Validating the current use of WINS
If you have a WINS Server and are considering removing it (based on passing all of the above checks), first do a quick reality check to verify the current utilization of NetBIOS Name Resolution on your network. Shutting the server down and then waiting for problems is not the best approach in this case. As an alternative, I recommend the following steps:
- Enable WINS performance monitor counters to note the frequency of NetBIOS Name Queries taking place.
- Get your hands on Wireshark and install it on the WINS server to capture the traffic destined to port 137. Alternately, have the network team mirror the port to the server so that you can run the network capture on any other PC like your laptop. You will see the exact names which are trying to be resolved and this may give some indication of which applications/scripts/users still require NetBIOS Name Resolution.
- Additionally, while still using Wireshark on any computer on the subnet, have a look at the number of NetBIOS Name Resolution broadcasts. If you aren’t using WINS, there will likely be 100’s or 1,000’s per minute depending on how many machines you have on the network (an indication that you should be using WINS).
Realistic Scenarios for the Consideration of WINS (Current)
In my humble opinion, there are 2 potential scenarios when considering the deployment of WINS:
1. Deploy it, because you need it (3 days).
2. Assess whether or not you need it before deploying WINS (15 days). This includes:
- Applications
- Scripts
- Wireshark
- Research
- Interviews
- Meetings
- Debates on the validity of WINS such as your networking team telling you that they don’t use NetBIOS/NetBEUI/NBT(NetBT)/NBF/MS-Net/LanMan etc. Remember, these are all networking protocols not dissimilar to TCP/IP; being the most widely used and fully supportive of the NetBIOS API (with the exception of Microsoft’s implementation of the TCP/IP v6 stack).
- Compile all of the results and make a decision (99/100 the result will be you need it)
- Inevitably, revert to step 1
3. Implement a GlobalNames Zone
I favour never to go beyond Scenario 1 given the cyclical nature of Scenario 2. Once WINS is setup appropriately and replicating with at least one additional replication partner, it very seldom fails and necessitates minimal deployment or operational time.
NEW – GlobalNames Zone (GNZ)
This matter wouldn’t be complete without a momentary look at a new feature – GlobalNames Zones (GNZ). This is used in large organizations who do not implement WINS or DNS Suffix’s for name resolution of single-label names and is available in Windows Server 2008/2008 R2.
If you still really want to get rid of WINS, GNZ could work for you. However, it isn’t dynamic in registration as WINS is and requires high administrative overhead if you have changing IP Addresses. It’s typical use is for well known, single-label named servers such as commonly accessed portals (e.g. http://helpdesk).
GNZ is great is you are planning on either retiring WINS or implementing IPv6 while still providing name resolution to single-label names.
The setup of GNZ is fairly straight forward:
1. Enable GNZ support on your DNS Servers
2. Create a zone called GlobalNames as either a primary, secondary (if you already have a centralised primary) or Active Directory Integrated
3. Create your records
This negates most of this post on the requirement for WINS and I am glad you took the time to read all the way here.
Summary
One day, this post will be obsolete. But for now, WINS is alive and well and a necessary evil on most networks who haven’t yet implemented GNZs.
{ 1 comment }