1 computer communication & networks lecture 26 application layer: domain name system waleed...
TRANSCRIPT
![Page 1: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/1.jpg)
1
Computer Communication & Networks
Lecture 26
Application Layer: Domain Name System
http://web.uettaxila.edu.pk/CMS/coeCCNbsSp09/index.asp
Waleed [email protected]
![Page 2: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/2.jpg)
2
Application Layer
![Page 3: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/3.jpg)
3
Application Layer Topics to CoverDNS
Remote Logging
Electronic Mail
File Transfer
![Page 4: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/4.jpg)
4
Name Space
To be unambiguous, the names assigned to machines must be carefully selected from a name space with complete control over the binding between the names and IP addresses.
![Page 5: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/5.jpg)
5
Domain Name Space
To have a hierarchical name space, a domain name space was designed. In this design the names are defined in an inverted-tree structure with the root at the top. The tree can have only 128 levels: level 0 (root) to level 127.
![Page 6: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/6.jpg)
6
Domain name space
![Page 7: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/7.jpg)
7
Domain names and labels
![Page 8: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/8.jpg)
8
Domains
![Page 9: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/9.jpg)
9
Distribution of Name Space
The information contained in the domain name space must be stored. However, it is very inefficient and also unreliable to have just one computer store such a huge amount of information. In this section, we discuss the distribution of the domain name space.
![Page 10: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/10.jpg)
10
Hierarchy of Name Servers
![Page 11: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/11.jpg)
11
DNS in the Internet
DNS is a protocol that can be used in different platforms. In the Internet, the domain name space (tree) is divided into three different sections: generic domains, country domains, and the inverse domain.
![Page 12: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/12.jpg)
12
DNS IN THE INTERNET
![Page 13: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/13.jpg)
13
Generic Domains
![Page 14: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/14.jpg)
14
Generic domain labels
![Page 15: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/15.jpg)
15
Country domains
![Page 16: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/16.jpg)
16
Resolution
Mapping a name to an address or an address to a name is called name-address resolution.
![Page 17: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/17.jpg)
17
Recursive resolution
![Page 18: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/18.jpg)
18
Iterative Resolution
![Page 19: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz](https://reader030.vdocuments.site/reader030/viewer/2022032604/56649e615503460f94b5c0db/html5/thumbnails/19.jpg)
19
DNS: caching and updating records
once (any) name server learns mapping, it caches mapping cache entries timeout (disappear) after some
time