Windows Internet Name Service(WINS)
description
Transcript of Windows Internet Name Service(WINS)
![Page 1: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/1.jpg)
Windows Internet Name Service(WINS)
Chapter 16
![Page 2: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/2.jpg)
Windows Internet Name Service(WINS)
Network Basic Input/Output System (NetBIOS)
● NetBIOS over TCP/IP (NetBT)
provides commands and support for network name registration and verification. session establishment and termination. reliable connection-oriented session data transfer. unreliable connectionless datagram data transfer. adapter monitoring and management.
the operation of the NetBIOS protocol over the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) of the TCP/IP protocol stack.
![Page 3: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/3.jpg)
NetBT Name Service Messages Name Query Request
Name Query Response
Name Registration Request
Name Registration Response
Wait Acknowledgment
Name Refresh Request
Name Release Request
Name Release Response
![Page 4: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/4.jpg)
NetBT Name Service Messages
Question entries Variable legth
Answer RRs Variable length
Authority RRs Variable length
Additional RRs Variable length
• Name Service header Fixed length (12 bytes long)
![Page 5: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/5.jpg)
Name Service header
Transaction ID > 2-byte
Flags > 2-byte Question Entry Count > 2-byte Answer RR Count > 2-byte
Authority RR Count > 2-byte Additional RR Count > 2-byte
![Page 6: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/6.jpg)
The Flags field in the Name Service header
Request/Response > 1-bit
Operation Code > 4-bit Authoritative Answer > 1-bit Truncation > 1-bit
Recursion Desired > 1-bit Recursion Available > 1-bit Reserved > 3-bit Return Code > 4-bit
![Page 7: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/7.jpg)
NetBIOS Name Representation
The 16-character NetBIOS name is converted into a 32-byte ASCII representation.
The period (.) character and the NetBIOS scope identifier are appended to the 32-byte ASCII representation of the NetBIOS name.
The resulting name is then encoded using length-value format according to the rules for
fully qualified domain names (FQDNs) in DNS Name Query Request messages.
Creating the DNS form of a NetBIOS name for NetBIOS name service messages involves the followingsteps:
![Page 8: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/8.jpg)
Question RR FormatQuestion entry format
RR format in NetBIOS name service messages
Question Name Question Type
Question Class
RR Name
Record Type Record Class Time to Live
Resource Data Length
Resource Data
![Page 9: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/9.jpg)
Format for General Name Service RRs
Question RR Format
RR Name Record Type Record Class Time to Live
Resource Data Length Data Flags IP Address
Format of the RDATA flags field Group Flag Owner Node Type Reserved
![Page 10: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/10.jpg)
Question RR Format
![Page 11: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/11.jpg)
Question RR Format
![Page 12: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/12.jpg)
WINS Client and Server Message Exchanges
Resolving NetBIOS names to IP addresses Registering NetBIOS names Renewing NetBIOS names Releasing NetBIOS names
This section describes common message exchanges between WINS clients and servers for the following:
![Page 13: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/13.jpg)
Resolving NetBIOS Names to IP Addresses
![Page 14: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/14.jpg)
Resolving NetBIOS Names to IP Addresses
![Page 15: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/15.jpg)
Registering NetBIOS Names
![Page 16: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/16.jpg)
Resolving NetBIOS Names to IP Addresses
![Page 17: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/17.jpg)
Registering NetBIOS Names
![Page 18: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/18.jpg)
Refreshing NetBIOS Names
![Page 19: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/19.jpg)
Refreshing NetBIOS Names
![Page 20: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/20.jpg)
Releasing NetBIOS Names
![Page 21: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/21.jpg)
Releasing NetBIOS Names
![Page 22: Windows Internet Name Service(WINS)](https://reader036.fdocuments.us/reader036/viewer/2022062520/5681634e550346895dd3ec90/html5/thumbnails/22.jpg)
Summary
Name Query Request Name Query Response messages Name Query Response
Name Registration Request Name Registration Response
WACKName Registration Response
Name Refresh Request Registration Response
Name Release Request Name Release Response
WINS-based NetBIOS name resolution
NetBIOS name registration
NetBIOS name refresh
NetBIOS name release
fixed-size
variable-sized