ch18
DESCRIPTION
TRANSCRIPT
![Page 1: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/1.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Chapter 18
Domain NameSystem(DNS)
![Page 2: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/2.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
CONTENTSCONTENTS• NAME SPACE• DOMAIN NAME SPACE• DISTRIBUTION OF NAME SPACE• DNS IN THE INTERNET• RESOLUTION• DNS MESSAGES• TYPES OF RECORDS• COMPRESSION• EXAMPLES• DDNS• ENCAPSULATION
![Page 3: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/3.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
NAME SPACE
18.118.1
![Page 4: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/4.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
DOMAINNAMESPACE
18.218.2
![Page 5: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/5.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-1
Domain name space
![Page 6: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/6.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-2
Domain namesand labels
![Page 7: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/7.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-3
FQDN and PQDN
![Page 8: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/8.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-4
Domains
![Page 9: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/9.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
DISTRIBUTION OF
NAME SPACE
18.318.3
![Page 10: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/10.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-5
Hierarchy of name servers
![Page 11: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/11.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-6
Zones and domains
![Page 12: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/12.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
A primary server loads all information from A primary server loads all information from the disk file; the secondary server loads the disk file; the secondary server loads
all information from the the primary server. all information from the the primary server. When the primary downloads information When the primary downloads information
from the secondary, it is called from the secondary, it is called zone transfer.zone transfer.
![Page 13: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/13.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
DNS IN THE
INTERNET
18.418.4
![Page 14: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/14.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-7DNS in the Internet
![Page 15: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/15.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-8
Generic domains
![Page 16: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/16.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-9
Country domains
![Page 17: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/17.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-10
Inverse domain
![Page 18: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/18.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
RESOLUTION
18.518.5
![Page 19: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/19.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-11
Recursive resolution
![Page 20: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/20.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-12Iterative resolution
![Page 21: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/21.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
DNSMESSAGES
18.618.6
![Page 22: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/22.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-13
DNS messages
![Page 23: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/23.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-14
Query and response messages
![Page 24: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/24.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-15
Header format
![Page 25: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/25.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-16
QR: Query/ResponseOpCode: 0 standard, 1 inverse, 2 server statusAA: AuthoritativeTC: TruncatedRD: Recursion DesiredRA: Recursion AvailablerCode: Status of the error
Flags fields
![Page 26: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/26.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
TYPESOF
RECORDS
18.718.7
![Page 27: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/27.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-17
Question record format
![Page 28: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/28.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-18
admin.atc.fhda.edu.
Query name format
![Page 29: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/29.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-19
Resource record format
![Page 30: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/30.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
COMPRESSION
18.818.8
![Page 31: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/31.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-20
Format of an offset pointer
![Page 32: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/32.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
EXAMPLES
18.918.9
![Page 33: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/33.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Example 1Example 1
A resolver sends a query message to a local server to find the IP address for the host “chal.fhda.edu.”. We discuss the query and response messages separately.
![Page 34: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/34.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-21
Example of a query message
![Page 35: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/35.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-22 Example of a response message
![Page 36: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/36.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Example 2Example 2
An FTP server has received a packet from an FTP client with IP address 153.2.7.9. The FTP server wants to verify that the FTP client is an authorized client.
![Page 37: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/37.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-23
Example of inverse query message
![Page 38: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/38.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
Figure 18-24
Example of inverseresponse message
![Page 39: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/39.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
DDNS
18.1018.10
![Page 40: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/40.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
ENCAPSULATION
18.1118.11
![Page 41: Ch18](https://reader033.vdocument.in/reader033/viewer/2022061222/548c650eb47959104e8b4619/html5/thumbnails/41.jpg)
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000
DNS can use the services of DNS can use the services of UDP or TCP UDP or TCP
using the well-known port 53.using the well-known port 53.