WINS acts as a directory service for NetBIOS names and IP addresses. The use of WINS can improve browsing for wide area networks through the following enhancements:
These enhancements make it possible for WINS to assist in fully browsing the entire network and resources shared in remote domains. The process of implementing this enhanced browsing involves the use of WINS in two ways:
For example, as shown in the following graphic, three PDCs for three separated domains (ADMIN, FINANCE, MIS) are operating as domain master browsers for their respective domains. All of these computers are WINS-aware computers running as WINS clients.
When each of the PDC computers starts for its domain, it registers the [1b] name for the domain with its preferred WINS server. For example, in the ADMIN domain, the computer PDC-ADMIN registers its IP address (192.168.1.2) as the domain master browser. These [1b] names then appear at other WINS servers as WINS database replication occurs in the routed network.
Because each of the four PDC computers operating as the domain master browser for their respective domains are configured to use WINS, they query WINS every 15 minutes to update their respective browse lists to include all other domains used in the network. Once all domains are registered in WINS, domain master browsers operating locally for each domain can use a two-part process to query the WINS server and discover remote domains:
Note that the result of this
The reverse query is used to learn the name of the computer that registered the remote domain name. In this way, the local domain master browser completes its list of remote domain names and their corresponding domain master browsers.
Note
In wide area networks, the use of a replicated WINS database that contains reference information about each of the domains can assist WINS-enabled clients in browsing remote domains.
As described earlier, NetBT clients can use broadcasts to their local subnets for <domain> [1D] names. When this happens and the domain is located at a remote subnet or site, the query fails. Under these circumstances, browsing is not possible unless special configurations are made and maintained. Without WINS, each domain master browser would need static information entered in an Lmhosts file to further process a client request. This requires careful administration to maintain and update static Lmhosts files at each domain master browser in the enterprise.
With WINS, clients can leverage the replicated names database more effectively and administrators can eliminate reliance on Lmhosts management. The process used by WINS clients to resolve a browser request for a remote domain name is different from the process used by non-WINS (NetBIOS broadcast-only) computers or to obtain information about local domains that are present on the same subnet.
The following graphic shows how a WINS client located in Sydney, SYD-PC-2, is able to obtain browse list information about the remote SEA domain located in Seattle:
The [1B] query is used to learn the IP address of the domain master browser (the PDC) for the remote domain. If all PDCs are configured to use WINS as described earlier in How remote domains register in WINS, the queried names should be present in the replicated WINS database.
The WINS response includes the IP address of SEA-PDC, the domain master browser for the remote SEA domain to the client.
For this example, the list of backup browsers returned by SEA-PDC includes the computer names of SEA-BB1, SEA-BB2 and SEA-BB3.
For instance, if the client randomly selects SEA-BB3, it then attempts to have WINS resolve the name "<SEA-BB3> [20]" to get the IP address of this computer.
The WINS response includes the IP address of SEA-BB3, the selected backup browser for the remote SEA domain to the client.
In some instances, the WINS client can receive a negative name response from the WINS server during step 2 of the previous process, changing how the client attempts to request and obtain browse list information for the remote domain.
Some reasons for a negative response from a WINS server include:
In this case, the WINS client does the following: