The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to...

12
so ftware studio the domain name system Daniel Jackson 1

Transcript of The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to...

Page 1: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

softwarestudio the domain name system

Daniel Jackson 1

Page 2: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

pinging machines

2

Page 3: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

using IP addresses in URLs?

© Massachusetts Institute of Technology. All rights reserved. This content is excluded from ourCreative Commons license. For more information, see http://ocw.mit.edu/fairuse.

3

Page 4: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

why domain names?

user friendly › no need to remember IP address

load balancing › same name maps to changing IP address

decoupling › can move server to different network, ISP, etc

4

Page 5: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

hierarchical structure

5

Page 6: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

phone book model

Image of a page in phonebook removed due to copyright restrictions.

6

Page 7: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

central directory service model

Photograph of rows of cubicles and computers removed due to copyright restrictions.

7

Page 8: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

distributed directory service model

8

1 2

3

4

5

67

3. The ISP name server then asks for the IP address from the authoratative name server.

4. The authoratative name server then sends the IP address back to the ISP name server.

5. The ISP name server then sends the IP address back to the browser.

1. Browser asks your ISP name server for the domain’s IP address.2. If your ISP name server doesn’t know, it then asks the root name server where to find the authoratative name server for the domain.

7. x.com’s website server sends web page to browser.

6. Browser uses IP to request web page from x.com’s website server.

Browser MachineISP Name Servers

Authoratative Name Servers

Website Server

Root Name Servers

Where is x.com?

x.com

Image by MIT OpenCourseWare.

Page 9: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

more details

recursive and non-recursive lookups › recursive: server fully answers query › non-recursive: sends back name of next server

glue records › query returns name of server, so need to resolve that › what if server is in domain being queried? › glue record: provides IP address is this case

about 40 record types › A: most common; returns IP for domain name › CNAME: alias to another domain name

9

Page 10: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

things to know about

caching › name server holds records it heard about from others › no explicit invalidation; records expire › so causes delay when name changes

replication › 80 replicas of root name server (2008)

registrars › decentralized since 1999 › registrar causes delay too

where can I learn more? › 6033!

10

Page 11: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

Educause hacked (January 2013)

© source unknown. All rights reserved. This content is excluded from our CreativeCommons license. For more information, see http://ocw.mit.edu/fairuse.

11

Page 12: The Domain Name System - MIT OpenCourseWare5. The ISP name server then sends the IP address back to the browser. 1. Browser asks your ISP name server for the domain’s IP address.

MIT OpenCourseWarehttp://ocw.mit.edu

6.170 Software StudioSpring 2013

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.