1 computer communication & networks lecture 26 application layer: domain name system waleed...

19
1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System http://web.uettaxila.edu.pk/CMS/coeCCNbsSp0 9/index.asp Waleed Ejaz [email protected]

Upload: brett-hicks

Post on 28-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

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

2

Application Layer

Page 3: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

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

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

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

6

Domain name space

Page 7: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

7

Domain names and labels

Page 8: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

8

Domains

Page 9: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

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

10

Hierarchy of Name Servers

Page 11: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

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

12

DNS IN THE INTERNET

Page 13: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

13

Generic Domains

Page 14: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

14

Generic domain labels

Page 15: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

15

Country domains

Page 16: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

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

17

Recursive resolution

Page 18: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

18

Iterative Resolution

Page 19: 1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System  Waleed Ejaz

19

DNS: caching and updating records

once (any) name server learns mapping, it caches mapping cache entries timeout (disappear) after some

time