Presentation is loading. Please wait.

Presentation is loading. Please wait.

From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 13: Name Services.

Similar presentations


Presentation on theme: "From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 13: Name Services."— Presentation transcript:

1 From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 13: Name Services

2 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.1 Composed naming domains used to access a resource from a URL http://www.cdk3.net:8888/WebExamples/earth.html URL Resource ID (IP number, port number, pathname) Network address 2:60:8c:2:b0:5a file Web server 55.55.55.55WebExamples/earth.html8888 DNS lookup Socket http://www.cdk5.net:8888/WebExamples/earth.html 2:60:8c:2:b0:5a

3 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.2 Iterative navigation Client 1 2 3 A client iteratively contacts name servers NS1–NS3 in order to resolve a name NS2 NS1 NS3 Name servers

4 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.3 Non-recursive and recursive server-controlled navigation 1 2 3 5 1 2 3 4 4 A name server NS1 communicates with other name servers on behalf of a client client Recursive server-controlled NS2 NS1 NS3 NS2 NS1 NS3 Non-recursive server-controlled

5 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.4 DNS name servers Note: Name server names are in italics, and the corresponding domains are in parentheses. Arrows denote name server entries a.root-servers.net (root) ns0.ja.net (ac.uk) dns0.dcs.qmul.ac.uk (dcs.qmul.ac.uk) alpha.qmul.ac.uk (qmul.ac.uk) dns0-doc.ic.ac.uk (ic.ac.uk) ns.purdue.edu (purdue.edu) uk purdue.edu ic.ac.uk qmul.ac.uk dcs.qmul.ac.uk *.qmul.ac.uk *.ic.ac.uk *.dcs.qmwul.ac.uk *.purdue.edu ns1.nic.uk (uk) ac.uk co.uk yahoo.com

6 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.5 DNS resource records Record typeMeaningMain contents AA computer addressIP number NSAn authoritative name serverDomain name for server CNAMEThe canonical name for an aliasDomain name for alias SOAMarks the start of data for a zone Parameters governing the zone WKSA well-known service descriptionList of service names and protocols PTRDomain name pointer (reverse lookups) Domain name HINFOHost informationMachine architecture and operating system MXMail exchangeList of <preference, host> pairs TXTText stringArbitrary text

7 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.6 DNS zone data records domain nametime to liveclasstypevalue 1DINNSdns0 1DINNSdns1 1DINNScancer.ucs.ed.ac.uk 1DINMX1 mail1.qmul.ac.uk 1DINMX2 mail2.qmul.ac.uk domain nametime to live classtype value www 1D IN CNAME apricot apricot 1D IN A 138.37.88.248 dcs 1D IN NS dns0.dcs dns0.dcs 1D IN A 138.37.88.249 dcs 1D IN NS dns1.dcs dns1.dcs 1D IN A 138.37.94.248 dcs.qmul.ac.uk

8 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.7 GNS directory tree and value tree for user Peter.Smith UKFR AC QMW DI: 322 Peter.Smith password mailboxes DI: 599(EC) DI: 574DI: 543 DI: 437 AlphaGammaBeta

9 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.8 Merging trees under a new root EC UKFR DI: 599 DI: 574DI: 543 NORTH AMERICA US DI: 642 DI: 457DI: 732 #599 = #633/EC #642 = #633/NORTH AMERICA Well-known directories: CANADA DI: 633(WORLD)

10 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.9 Restructuring the directory EC UKFR DI: 599 DI: 574DI: 543 NORTH AMERICA US DI: 642 DI: 457 DI: 732 CANADA DI: 633(WORLD) #633/EC/US US #599 = #633/EC #642 = #633/NORTH AMERICA Well-known directories:

11 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.10 X.500 service architecture DSA DUA

12 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.11 Part of the X.500 Directory Information Tree...France (country)Great Britain (country)Greece (country)... BT Plc (organization)University of Gormenghast (organization)... Department of Computer Science (organizationalUnit) Computing Service (organizationalUnit) Engineering Department (organizationalUnit)... X.500 Service (root) Departmental Staff (organizationalUnit) Research Students (organizationalUnit) ely (applicationProcess)... Alice Flintstone (person)Pat King (person)James Healey (person)... Janet Papworth (person)...

13 Instructor’s Guide for Coulouris, Dollimore, Kindberg and Blair, Distributed Systems: Concepts and Design Edn. 5 © Pearson Education 2012 Figure 13.12 An X.500 DIB Entry info Alice Flintstone, Departmental Staff, Department of Computer Science, University of Gormenghast, GB commonName Alice.L.Flintstone Alice.Flintstone Alice Flintstone A. Flintstone surname Flintstone telephoneNumber +44 986 33 4604 uid alf mail alf@dcs.gormenghast.ac.uk Alice.Flintstone@dcs.gormenghast.ac.uk roomNumber Z42 userClass Research Fellow


Download ppt "From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 13: Name Services."

Similar presentations


Ads by Google