Translating Addresses

Size: px
Start display at page:

Download "Translating Addresses"

Transcription

1 Translating Addresses Reading: Sections 9.3.1, Slides by Princeton, slightly altered by M.D. Context Application DNS DHCP Transport TCP UDP Network ICMP IP ARP Physical Physical Network 2

2 Three Kinds of Identifiers Host name (e.g., Mnemonic name appreciated by humans Provides little (if any) information about location Hierarchical, based on organizations IP address (e.g., ) Numerical address appreciated by routers Hierarchical, based on organizations and topology MAC address (e.g., C A9) Numerical 48-bit address appreciated by adapters Non-hierarchical, unrelated to network topology 6 Three Hierarchical Assignment Processes Host name: Domain: registrar for each top-level domain (e.g.,.edu) Host name: local administrator assigns to each host IP addresses: Prefixes: ICANN, regional Internet registries, and ISPs Hosts: static configuration, or dynamic using DHCP MAC addresses: C A9 Blocks: assigned to vendors by the IEEE Adapters: assigned by the vendor from its block 7

3 Mapping Between Identifiers Domain Name System (DNS) Given a host name, provide the IP address Given an IP address, provide the host name Dynamic Host Configuration Protocol (DHCP) Given a MAC address, assign a unique IP address and tell host other stuff about the Local Area Network To automate the boot-strapping process Address Resolution Protocol (ARP) Given an IP address, provide the MAC address To enable communication within the Local Area Network 8 Domain Name System (DNS) Proposed in 1983 by Paul Mockapetris Slides by Princeton, slightly altered by M.D.

4 Domain Name System (DNS) Properties of DNS Hierarchical name space divided into zones Distributed over a collection of DNS servers Hierarchy of DNS servers Root servers Top level domain (TLD) servers Authoritative DNS servers Performing the translations Local DNS servers and client resolvers 10 DNS Root Servers 13 root servers (see Labeled A through M E NASA Mt View, CA F Internet Software C. Palo Alto, CA (and 17 other locations) A Verisign, Dulles, VA C Cogent, Herndon, VA (also Los Angeles) D U Maryland College Park, MD G US DoD Vienna, VA H ARL Aberdeen, MD J Verisign, ( 11 locations) K RIPE London (also Amsterdam, Frankfurt) I Autonomica, Stockholm (plus 3 other locations) M WIDE Tokyo B USC-ISI Marina del Rey, CA L ICANN Los Angeles, CA 11

5 TLD Servers Top-level domain (TLD) servers Generic domains (e.g., com, org, edu) Country domains (e.g., uk, fr, ca, jp) Typically managed professionally Network Solutions maintains servers for com Educause maintains servers for edu 12 Exercise Use the whois utility to find out who is in charge of our villanova.edu site. Look up your site both by DNS name and by IP network number. Try other sites as well, such as cisco.com. 13

6 Distributed Hierarchical Database root com edu org ac uk zw arpa bar generic domains country domains ac inaddr Authoritative Servers west foo east my Provide public records for hosts at an organization cam usr my.east.bar.edu usr.cam.ac.uk /24 DNS Resource Records Slides by Princeton, slightly altered by M.D.

7 Resource Records (RR) RR format: (name, value, type, TTL) Type=A name is hostname value is IP address Type=NS name is domain (e.g. foo.com) value is hostname of authoritative name server for this domain Type=CNAME name is alias name for some canonical (the real) name is really servereast.backup2.ibm.com value is canonical name Type=MX value is name of mailserver associated with name 17 Inserting Resource Records into DNS Example: just created startup FooBar Register foobar.com at Network Solutions Provide registrar with names and IP addresses of your authoritative name server (primary and secondary) Registrar inserts two RRs into the.com TLD server: (foobar.com, dns1.foobar.com, NS) (dns1.foobar.com, , A) Set up authoritative server dns1.foobar.com Type A record for Type MX record for foobar.com 18

8 nslookup Use to query DNS servers Interactive and Non-interactive modes Examples: nslookup nslookup query=mx villanova.edu nslookup enter interactive shell type a host name; get its IP address info ls <domain_name> exit 1 nslookup Example > nslookup -query=mx villanova.edu Server: ns1.villanova.edu Address: villanova.edu mail exchanger = mskan-in-01.villanova.edu villanova.edu mail exchanger = mskan-in-02.villanova.edu mskan-in-01.villanova.edu internet address = mskan-in-02.villanova.edu internet address =

9 DNS Queries Slides by Princeton, slightly altered by M.D. Using DNS Local DNS server ( default name server ) Usually near the end hosts who use it Local hosts configured with local server (e.g., /etc/resolv.conf) or learn the server via DHCP Client application Extract server name (e.g., from the URL) Do gethostbyname() to trigger resolver code 22

10 Identity of Root Servers All DNS servers are configured with a list of 13 root servers, a selection of which looks like: A.ROOT SERVERS.NET IN A B.ROOT SERVERS.NET IN A C.ROOT SERVERS.NET IN A M.ROOT SERVERS.NET IN A Query Example Host at cis.poly.edu wants IP address for local DNS server dns.poly.edu 2 root DNS server 3 TLD.edu server requesting host cis.poly.edu authoritative DNS server dns.umass.edu 25

11 Query Example: Root Server The root server does not know about but sends the TLD servers responsible for the.edu domain: EDU IN NS A.GTLD SERVERS.EDU IN NS B.GTLD SERVERS.EDU IN NS C.GTLD SERVERS.EDU A.GTLD SERVERS.EDU IN A B. GTLD SERVERS.EDU IN A C. GTLD SERVERS.EDU IN A Query Example: GTLD Server The GTLD server does not know about but sends the TLD servers responsible for the.edu domain: umass.edu IN NS dns.cs.umass.edu IN NS dnsec.umass.edu dns.cs.umass.edu IN A dnsec. umass.edu IN A

12 Recursive vs. Iterative Queries Recursive query Ask server to get answer for you E.g., request 1 and response 8 Iterative query Ask server who to ask next E.g., all other request-response pairs local DNS server dns.poly.edu 1 root DNS server 2 3 (delegation) TLD DNS server requesting host cis.poly.edu authoritative DNS server dns.cs.umass.edu 28 Questions Give two reasons why a local DNS server is not configured with the IP addresses of the top-level domain servers (e.g., for.edu or.org ). How does the local DNS server learn the addresses of the top-level domain servers? 29

13 DNS Caching Slides by Princeton, slightly altered by M.D. DNS Caching Performing all these queries take time And all this before the actual communication takes place E.g., 1-second latency before starting Web download Caching can substantially reduce overhead The top-level servers very rarely change Popular sites (e.g., visited often Local DNS server often has the information cached How DNS caching works DNS servers cache responses to queries Responses include a time to live (TTL) field Server deletes the cached entry after TTL expires 33

14 Setting the Time To Live (TTL) TTL trade offs Small TTL: fast response to change Large TTL: higher cache hit rate Following the hierarchy Top of the hierarchy: days or weeks Bottom of the hierarchy: seconds to hours Ex: Browsers cache for seconds 34 Negative Caching Remember things that don t work Misspellings like and These can take a long time to fail the first time Good to remember that they don t work so the failure takes less time the next time around 35

15 DNS Protocol Slides by Princeton, slightly altered by M.D. DNS Protocol Context DNS Header DNS Data TCP/UDP Header TCP/UDP Data IP Header IP Data Frame Header Frame Data 37

16 DNS Header Format Identification: 16-bit number Same for query/reply Flags: Query or reply Recursion desired Recursion available Reply is authoritative Truncated (if answer can t fit in the 512-byte UDP limit) 38 DNS Query Example This is a Query Standard Query Recursion Desired QID = Question Count = 1 Answer Count = 0 Authority Count = 0 Additional Count = 0 Qu What is the A record of 39

17 DNS Response Example This is a Response Authoritative! Recursion Unavailable QID = Question Count = 1 Answer Count = 1 Authority Count = 2 Additional Count = 2 Qu What is the A record of An A = hr Au umass.edu NS = dns.cs.umass.edu 2dy Au umass.edu NS = dnsec.umass.edu 2dy Ad dns.cs.umass.edu A = hr Ad dnsec.umass.edu A = hr 40 Learning Your Local DNS Server Slides by Princeton, slightly altered by M.D.

18 How To Bootstrap an End Host? What local DNS server to use? What IP address should the host use? How to send packets to remote destinations???? host host... DNS host host... DNS / / router router router 42 Manual Configuration Technician must configure each PC... IP Address and Netmask Gateway Address Hostname, Domain, DNS WINS Server n n Waste of staff time Possible errors or duplicate IP asignment 43

19 Avoiding Manual Configuration Dynamic Host Configuration Protocol (DHCP) End host learns how to send packets Learn IP address, DNS servers, and gateway Address Resolution Protocol (ARP) Others learn how to send packets to the end host Learn mapping between IP address & interface address??? host host... DNS host host... DNS / / router router router 44 Key Ideas in Both Protocols Broadcasting: when in doubt, shout! Broadcast query to all hosts in the local-area-network when you don t know how to identify the right one Caching: remember the past for a while Store the information you learn to reduce overhead Remember your own address & other host s addresses Soft state: but eventually forget the past Associate a time-to-live field with the information and either refresh or discard the information Key for robustness in the face of unpredictable change 45

20 Bootstrapping Problem Host doesn t have an IP address yet So, host doesn t know what source address to use Host doesn t know who to ask for an IP address So, host doesn t know what destination address to use Solution: shout to discover a server who can help Broadcast a DHCP server-discovery message Server sends a DHCP offer offering an address host host... host DHCP server 46 Broadcasting Broadcasting: sending to everyone Special destination address: FF-FF-FF-FF-FF-FF All adapters on the LAN receive the packet Who am I? Where am I? Your name is clueless, address , netmask , router , DNS server , etc. DHCP server 47

21 Response from the DHCP Server DHCP offer message from the server Configuration parameters (proposed IP address, mask, gateway router, DNS server,...) Lease time (the time the information remains valid) Multiple servers may respond Multiple servers on the same broadcast media Each may respond with an offer The client can decide which offer to accept Accepting one of the offers Client sends a DHCP request echoing the parameters The DHCP server responds with an ACK to confirm and the other servers see they were not chosen 48 Dynamic Host Configuration Protocol arriving client DHCP server

22 DHCP Discover 50 DHCP Offer 51

23 DHCP Request and ACK At this time, the DHCP client can start to use the IP address. 52 Deciding What IP Address to Offer Static Allocation All parameters are statically configured in the server E.g., a dedicated IP address for each MAC address Makes it easy to track a host over time Dynamic Allocation Server maintains a pool of available addresses and assigns them to hosts on demand Leads to less configuration complexity and more efficient use of the pool of addresses 53

24 Soft State: Refresh or Forget Why is a lease time necessary? Client can release the IP address (DHCP RELEASE) But, the host might not release the address E.g., the host crashes (blue screen of death!) E.g., buggy client software Don t want the address to be allocated forever Performance trade-offs Short lease: returns inactive addresses quickly Long lease: avoids overhead of frequent renewals 54 DHCP Lease Renewal Client Server T = 0 Typical lease time is 1 30 days. At T1 = 1/2 Lease time (default) client sends a unicast DHCP REQUEST to the server to renew the lease. Client repeats DHCP REQUEST until the lease is renewed. If no response from server: At T2 = 3/4 Lease time (default) client begins to broadcast DHCP DISCOVER to locate a new server. 55

25 DHCP on Single Network One DHCP server can configure all machines on a network. Faculty & Staff offices switch or hub DHCP provides each client: IP Address: xx.x Netmask: Router: Broadcast addr: WINS server: Domain-name: csc.villanova.edu DNS servers: , Lease Time: 10 days Other information Computer Lab WINS Server DHCP Server 56 DHCP on Multiple Networks One server can manage many networks using a Relay Agent. Network A Network B DHCP Request (broadcast) Network C File Server WINS Server DHCP Server Router configured as DHCP Relay Agent: router forwards DHCP DHCP Reply requests (broadcasts) to server router forwards DHCP replies to client No client reconfiguration is needed to use a relay agent. 57

26 DHCP on Remote Networks There can be other routers between the DCHP Relay Agent and the DHCP server. DHCP Relay Agent for Network A Network A Network B DHCP Relay Agent for Network B Relay Agent not necessary here. Network not using DHCP DHCP Server DHCP relaying is transparent to the clients. 58 Where is the Client? A DHCP Server can support multiple networks. Assigned IP addresses must match the clients network. How does the server know which network the client is on? Address requests Relay Agent /22 Net /22 Net DHCP OFFER IP addr = DHCP OFFER IP addr = DHCP Server

27 Relay Agent Operation (1) The Relay Agent inserts the IP address of its own interface into the broadcast request from the client, then forwards the request to a DHCP server Net Backbone DHCP Server Frame: src=00:01:02:03:04:05 dest=ff:ff:ff:ff:ff:ff Frame: src=router_macaddr dest= nexthop_macaddr IP Hdr: DHCP: src= dest= srcmac= IP Hdr: src = dest= DHCP: srcmac = RelayAddr = Options: msg type=1 (Discover) Options: msg type=1 (Discover) 60 Relay Agent Operation (2) The DHCP server uses the RelayAddr value in the DHCP message to derive the client s network address ( ) Net Backbone DHCP Server RelayAddr value indicates which network the client is on. This address is also used to reply. srcmac in DHCP message identifies the client. Frame: src=router_macaddr dest= server_macaddr IP Hdr: src= dest= DHCP: RelayIP = srcmac = Options: msg type=1 (Discover) 61

28 Relay Agent Operation (3) The DHCP server sends a reply addressed to the relay agent, using the RelayAddr as the destination IP address Net Backbone DHCP Server Server sends a unicast reply to the relay agent, using the RelayAddr value. Offered IP address and other data for the DHCP client. Server returns original RelayAddr and srcmac values to assist in relaying. Frame: src=server_macaddr dest= next_hop_macaddr IP Hdr: src= dest= DHCP: RelayIP = OfferIP= srcmac = Options: msg type=2 (Offer) 62 Relay Agent Operation (4) When the relay agent receives a reply with its own IP address, it relays the reply to the client Net Backbone DHCP Server Frame: IP Hdr: src= router-macaddr dest= 00:01:02:03:04:05 src= dest= Agent copies client s hardware address from the srcmac field to the destination field DHCP: RelayIP = OfferIP = srcmac = Options: msg type=2 (Offer) 63

29 What Happens When a Client Moves? If a client moves from one network to another, how does it discover that its old address is no longer valid? Network A Network B DHCP client addresses have a lease time, which is usually several hours or several days or weeks. A computer might move to a new network while its old lease is still valid. File Server WINS Server DHCP Server 64 DHCP Boot Confirmation Each time a DHCP client boots, it broadcasts a DHCP DISCOVER to verify that its current configuration is still valid. Network A Network B Client broadcasts a DHCP DISCOVER packet containing current configuration data. File Server WINS Server NACK DHCP Server Server sees that client s data is not valid for new location and returns a DHCP NACK message. 65

30 DHCP Reconfiguration When a client receives a NACK reply from server it discards old configuration and requests a new address. Network A NACK Network B When the client receives a NACK reply from server, it discards its old DHCP configuration. DHCP Server Client requests a new address and other data using DHCP broadcast. This sequence also applies to case where network addresses or other configuration data change while client is turned off. 66 Other Uses for Boot Confirmation During DHCP Boot Confirmation a client can renew its lease. The server can include new data values in the ACK message. Network A Network B When client broadcasts a DHCP DISCOVER packet, he also requests lease extension. ACK Server includes all configuration data, with new values, in ACK reply. File Server WINS Server DHCP Server 67

31 DHCP Performance Network traffic from DHCP is light. If lease time is 1 day, there would be 8 packets/client/day for DHCP A server handles thousands of clients, according to The DHCP Handbook Memory complexity: a server managing 10,000 client leases would consume up to 20MB of memory for the lease table 68 So, Now the Host Knows Things IP address Mask Gateway router DNS server And can send packets to other IP addresses But, how to learn the MAC address of the destination? 70

32 Sending Packets Over a Link IP packet host host... Web router Adapters only understand MAC addresses Translate the destination IP address to MAC address Encapsulate the IP packet inside a link-level frame 71 Address Resolution Protocol Every node maintains an ARP table (IP address, MAC address) pair Consult the table when sending a packet Map destination IP address to destination MAC address Encapsulate and transmit the data packet But, what if the IP address is not in the table? Sender broadcasts: Who has IP address ? Receiver responds: MAC address D7-FA-20-B0 Sender caches the result in its ARP table Receiver caches the sender info in its ARP table Cache table fills up => Least Recently Used policy used 72

33 ARP Request Argon :a0:24:71:e4:44 Router :e0:f9:23:a8:20 ARP Request: What is the MAC address of ? 73 ARP Reply ARP Reply: The MAC address of is 00:e0:f9:23:a8:20 74

34 ARP Table Use arp a to view the ARP cache on your own machine. Command available in both Unix and Windows 75 ARP Exercise IA A EA IB B EB IR1 ER1 Router R IR2 ER2 ED D ID IC C EC IA, IB, are IP addresses; EA, EB, are MAC addresses. Assume that all ARP tables are initially empty. Give the complete contents of the ARP table for A, B, C, D and R after each of the following operations. 76

35 ARP Exercise (1) IA IB A B EA EB IR1 ER1 Router R IR2 ER2 ED D ID IC C EC 1) Host A sends a packet to host C ARP Table of A ARP Table of C 77 ARP Exercise (2) IA IB A B EA EB IR1 ER1 Router R IR2 ER2 ED D ID IC C EC 2) Host B sends a packet to host D ARP Table of B ARP Table of D ARP Table of R 78

36 ARP Exercise (3) IA IB A B EA EB IR1 ER1 Router R IR2 ER2 ED D ID IC C EC 3) Host D sends a packet to host B 79 Question How could the ARP protocol be used to determine if another host on my network is using my IP address? 80

37 Putting it Together: A Sending a Packet to B How does host A send an IP packet to B ( A R B 82 Basic Steps Host A must learn the IP address of B via DNS Host A uses gateway R to reach external hosts Host A sends the frame to R s MAC address Router R inspects dest. IP address to decide where to send Router R learns B s MAC address and forwards frame A R B 83

38 Host A Learns the IP Address of B Host A does a DNS query to learn B s address Suppose gethostbyname() returns Host A constructs an IP packet to send to B Source , destination A R B 84 Host A Learns the IP Address of B IP header From A: To B: Ethernet frame From A: C-E8-FF-55 To gateway:???? A R B 85

39 Host A Sends Through R Host A has a gateway router R Used to reach destinations outside of /24 Address for R learned via DHCP But, what is the MAC address of the gateway? A R B 86 Host A Sends Packet Through R Host A learns the MAC address of R s interface ARP request: broadcast request for ARP response: R responds with E6-E BB-4B Host A encapsulates the packet and sends to R Host A also caches R s MAC in its ARP table A R B 87

40 Host A Sends Packet Through R IP header From A: To B: Ethernet frame From A: C-E8-FF-55 To R: E6-E BB-4B A R B 88 R Decides how to Forward Packet Router R s adapter receives the packet R extracts the IP packet from the Ethernet frame R sees the IP packet is destined to Router R consults its forwarding table Packet matches /24 via other adapter A R B 89

41 Router R Wants to Forward Packet IP header From A: To B: Ethernet frame From R: 1A-23-F9-CD-06-9B To B:??? A R B 90 R Sends Packet to B Router R s learns the MAC address of host B ARP request: broadcast request for ARP response: B responds with 49-BD-D2-C7-56-2A Router R encapsulates the packet and sends to B Router R also caches B s MAC in its ARP table A R B 91

42 Router R Forwards Packet IP header From A: To B: Ethernet frame From R: 1A-23-F9-CD-06-9B To B: 49-BD-D2-C7-56-2A A R B 92 Question Suppose a rogue computer sends an unsolicited ARP reply message, with its own MAC address and the IP address of the LAN gateway router, to another host on the LAN. What will happen when this host (i.e., the host who believed the bogus ARP reply) transmits an IP packet destined to an external Internet address? 93

43 Question ARP and DNS both depend on caches. ARP cach entry lifetimes are typically 10 mins, while DNS cache is on the order of days. Why this difference? 95 Conclusion Domain Name System Distributed, hierarchical database Distributed collection of servers Caching to improve performance Bootstrapping an end host Dynamic Host Configuration Protocol (DHCP) Address Resolution Protocol (ARP) Next class: Middleboxes Reading: Section 8.4 and Ch. 2 Network Address Translator (NAT) Firewalls 97

CSE 486/586 Distributed Systems

CSE 486/586 Distributed Systems CSE 486/586 Distributed Systems The Domain Name System Slides by Steve Ko Computer Sciences and Engineering University at Buffalo CSE 486/586 Domain Name System (DNS) Proposed in 1983 by Paul Mockapetris

More information

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

Domain Name Service. DNS Overview. October 2009 Computer Networking 1 Domain Name Service DNS Overview October 2009 Computer Networking 1 Why DNS? Addresses are used to locate objects (contain routing information) Names are easier to remember and use than numbers DNS provides

More information

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Chapter 2 Application Layer Lecture 5 DNS Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Application Layer 2-1 Chapter 2: outline 2.1 principles

More information

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa NET 331 Computer Networks Lecture 05: Application Layer (Part 02) Domain Name System Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition by Kurose and

More information

Reminders. EE 122: Domain Name System. Goals of Today!s Lecture. Host Names vs. IP addresses. Separating Naming and Addressing

Reminders. EE 122: Domain Name System. Goals of Today!s Lecture. Host Names vs. IP addresses. Separating Naming and Addressing Reminders EE 122: Domain Name System Homework 2 due Oct 1 @ 3:50 pm Oct 1 is this Wednesday Project 1 checkpoint due Oct 6 @ 11:59:59 pm Ion Stoica (and Brighten Godfrey) TAs: Lucian Popa, David Zats and

More information

Domain Name System (DNS) 김현철 ( 화 ) 정보통신융합서울대학교컴퓨터공학부

Domain Name System (DNS) 김현철 ( 화 ) 정보통신융합서울대학교컴퓨터공학부 Domain Name System (DNS) 김현철 2010.09.29 ( 화 ) 정보통신융합서울대학교컴퓨터공학부 Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students,

More information

EE 122: Domain Name System

EE 122: Domain Name System EE 122: Domain Name System Ion Stoica (and Brighten Godfrey) TAs: Lucian Popa, David Zats and Ganesh Ananthanarayanan http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Vern Paxson, Jennifer

More information

CS 43: Computer Networks. 10: Naming and DNS September 24, 2018

CS 43: Computer Networks. 10: Naming and DNS September 24, 2018 CS 43: Computer Networks 10: Naming and DNS September 24, 2018 Last class Distributed systems architectures Client-Server Peer-to-Peer Challenges in design Partial failures Event ordering Lecture 10 -

More information

IP ADDRESSES, NAMING, AND DNS

IP ADDRESSES, NAMING, AND DNS IP ADDRESSES, NAMING, AND DNS George Porter Apr 9, 2018 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license These

More information

CSE561 Naming and DNS. David Wetherall

CSE561 Naming and DNS. David Wetherall CSE561 Naming and DNS David Wetherall djw@cs.washington.edu Naming and DNS Focus: How do we resolve names to addresses Names and addresses Application DNS as a system design Transport Network Link Physical

More information

Lecture 7: Application Layer Domain Name System

Lecture 7: Application Layer Domain Name System Lecture 7: Application Layer Domain Name System COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F Kurose

More information

Announcements. Transport Protocols & DNS. Goals for Today s Lecture, Part 1. Goals of Today s Lecture, Part 2. Transport Protocols

Announcements. Transport Protocols & DNS. Goals for Today s Lecture, Part 1. Goals of Today s Lecture, Part 2. Transport Protocols Announcements Transport Protocols & DNS EE 122: Intro to Communication Networks Fall 2006 (MW 4-5:30 in Donner 155) We re soliciting feedback What s not working? What s working well? Send via email or

More information

CSc 450/550 Computer Networks Domain Name System

CSc 450/550 Computer Networks Domain Name System CSc 450/550 Computer Networks Domain Name System Jianping Pan Summer 2007 5/28/07 CSc 450/550 1 Review: Web/HTTP Web URI/URL, HTML tags, embedded objects HTTP request and response persistence, statefulness

More information

CS 457 Lecture 11 More IP Networking. Fall 2011

CS 457 Lecture 11 More IP Networking. Fall 2011 CS 457 Lecture 11 More IP Networking Fall 2011 IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) upper layer protocol

More information

CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks Welcome to CS 3516: Adanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: Fuller 320 Fall 2017 A-term 1 Some slides are originally from the course materials of the textbook

More information

CSEN 503 Introduction to Communication Networks

CSEN 503 Introduction to Communication Networks CSEN 503 Introduction to Communication Networks 1-1 Mervat AbuElkheir Hana Medhat Ayman Dayf ** Slides are attributed to J. F. Kurose Roadmap: Application layer Cookies and User-Server State Web caches

More information

Chapter 2: Application layer

Chapter 2: Application layer Chapter 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 Socket programming with TCP 2.8 Socket

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2013 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Project 1 Python HTTP Server Work day: Next Tuesday (Sept 24 th ) Due Thursday, September 26 th by 11:55pm

More information

CSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose

CSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose CSEN 404 Introduction to Networks Mervat AbuElkheir Mohamed Abdelrazik ** Slides are attributed to J. F. Kurose HTTP Method Types HTTP/1.0 GET POST HEAD asks server to leave requested object out of response

More information

Light at the end of the tunnel Final Lecture: Course Overview

Light at the end of the tunnel Final Lecture: Course Overview Light at the end of the tunnel Final Lecture: Course Overview Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer Rexford at Princeton University. When slides are obtained

More information

Computer Networks. Domain Name System. Jianping Pan Spring /25/17 CSC361 1

Computer Networks. Domain Name System. Jianping Pan Spring /25/17 CSC361 1 Computer Networks Domain Name System Jianping Pan Spring 2017 1/25/17 CSC361 1 Review: Web/HTTP Web URI/URL, HTML tags embedded/linked objects HTTP request and response persistence, statefulness web caching,

More information

Applications & Application-Layer Protocols: (SMTP) and DNS

Applications & Application-Layer Protocols:  (SMTP) and DNS CS 312 Internet Concepts Applications & Application-Layer Protocols: E (SMTP) and DNS Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs312-f11

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.5 Chapter 2: outline 2.1 principles of network applications app architectures

More information

logical link name logical link name name logical link address physical address path

logical link name   logical link name name logical link address physical address path http://mosaic.cnfolio.com/b101cw2011article581 RelaDonship Between Layers logical link name Discovery Mike Freedman COS 461: Computer Networks h?p://www.cs.princeton.edu/courses/archive/spr14/cos461/ 2

More information

Application Layer: , DNS

Application Layer:  , DNS Application Layer: E-mail, DNS EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 22-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic

More information

Page 1. TCP Flow Control" TCP Flow Control" TCP Flow Control" CS162 Operating Systems and Systems Programming Lecture 16. Flow Control, DNS"

Page 1. TCP Flow Control TCP Flow Control TCP Flow Control CS162 Operating Systems and Systems Programming Lecture 16. Flow Control, DNS CS162 Operating Systems and Systems Programming Lecture 16 Flow Control, DNS" March 28, 2011! Ion Stoica! http://inst.eecs.berkeley.edu/~cs162! TCP: stream oriented protocol! Sender sends a stream of bytes,

More information

Discovery. RelaKonship Between Layers. Discovery: Mapping Name to Address. RouKng: Mapping Link to Path. What s in a Name? Naming

Discovery. RelaKonship Between Layers. Discovery: Mapping Name to Address. RouKng: Mapping Link to Path. What s in a Name? Naming RelaKonship Between Layers Discovery Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101 logical link name hep://www.cs.princeton.edu/courses/archive/spr13/cos461/ 2 Discovery:

More information

DNS Hierarchical Name Space. BIND Terminology and DNS Name Servers. Distributed Hierarchical Database (1st Approx) Domain Name System (DNS)

DNS Hierarchical Name Space. BIND Terminology and DNS Name Servers. Distributed Hierarchical Database (1st Approx) Domain Name System (DNS) Domain Name System (DNS) DNS consists of 1. an hierarchical name space name allocation decentralized to domains host.sub-subdomain.....subdomain.domain[.root] host machine name, can be an alias sub-subdomain

More information

Domain Name System (DNS)

Domain Name System (DNS) Domain Name System (DNS) Smith College, CSC 249 Feb 6, 2017 1 TODAY: Domain Name System qthe directory system for the Internet v Used by other application layer protocols v via socket programming qmaps

More information

Chapter 2 part B: outline

Chapter 2 part B: outline Chapter 2 part B: outline 2.3 FTP 2.4 electronic, POP3, IMAP 2.5 DNS Application Layer 2-1 FTP: the file transfer protocol at host FTP interface FTP client local file system file transfer FTP remote file

More information

Chapter 2 Application Layer

Chapter 2 Application Layer Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2011 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Homework #1 Due Thursday Submit PDF file online via Sakai Questions? Office Hours Tue 1:30-3pm, Wed 1:30-3pm

More information

Announcements! Midterm Review! General Guidelines! My General Philosophy on Tests! Outline of Review! Things You Don t Need to Know!

Announcements! Midterm Review! General Guidelines! My General Philosophy on Tests! Outline of Review! Things You Don t Need to Know! Announcements! Extended office hours after class As long as line lasts!. Midterm Review! EE 122 Intro to Communication Networks Fall 2010 (MW 4-530 in 101 Barker) Scott Shenker TAs Sameer Agarwal, Sara

More information

Transla'ng Addresses. Goals of Today s Lecture

Transla'ng Addresses. Goals of Today s Lecture Transla'ng ddresses 1 Goals of Today s Lecture Three different kinds of addresses Host names (e.g., www.cnn.com) IP addresses (e.g., 64.236.16.20) MC addresses (e.g., 00-15- C5-49- 04-9) Protocols for

More information

DNS and CDNs : Fundamentals of Computer Networks Bill Nace

DNS and CDNs : Fundamentals of Computer Networks Bill Nace DNS and CDNs 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia HW #1 is posted Mission: Learn

More information

Goals of Today s Lecture. Transla'ng Addresses. Separa'ng Names and IP Addresses. Separa'ng IP and MAC Addresses

Goals of Today s Lecture. Transla'ng Addresses. Separa'ng Names and IP Addresses. Separa'ng IP and MAC Addresses Goals of Today s Lecture Transla'ng ddresses Three different kinds of addresses Host names (e.g., www.cnn.com) IP addresses (e.g., 64.236.16.20) MC addresses (e.g., 00-15- C5-49- 04-9) Protocols for transla'ng

More information

Chapter II: Application Layer

Chapter II: Application Layer Chapter II: Application Layer UG3 Computer Communications & Networks (COMN) MAHESH MARINA mahesh@ed.ac.uk Slides thanks to Myungjin Lee, and copyright of Kurose and Ross First, a review Web and HTTP web

More information

The Application Layer: Sockets, DNS

The Application Layer: Sockets, DNS The Application Layer: Sockets, DNS CS 352, Lecture 3 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana 1 App-layer protocol Types of messages exchanged, e.g., request, response Message format:

More information

The Domain Name System

The Domain Name System The Domain Name System Stefano Vissicchio UCL Computer Science COMP0023 Today 1. The Domain Name System (DNS) 2. A Brief Word on DNS Security A name indicates what we seek. An address indicates where it

More information

CS4/MSc Computer Networking. Lecture 3: The Application Layer

CS4/MSc Computer Networking. Lecture 3: The Application Layer CS4/MSc Computer Networking Lecture 3: The Application Layer Computer Networking, Copyright University of Edinburgh 2005 Network Applications Examine a popular network application: Web Client-server architecture

More information

Domain Name System.

Domain Name System. Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith Vertanen Fall 2011 Overview Final project + presentation Some TCP and UDP experiments Domain Name System (DNS) Hierarchical name space Maps

More information

Internet applications. 2: Application Layer 1

Internet applications. 2: Application Layer 1 Internet applications 2: Application Layer 1 Recall Internet architecture Intelligence at end systems e.g., web server software communicates with browser software No need to write software for network-core

More information

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm Application Layer Goals: Conceptual aspects of network application protocols Client server paradigm Service models Review protocols by examining popular application-level protocols HTTP DNS 1 Applications

More information

Section 2: Application layer

Section 2: Application layer Section 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 Socket programming with UDP 2.8 Socket

More information

DNS. dr. C. P. J. Koymans. September 16, Informatics Institute University of Amsterdam. dr. C. P. J. Koymans (UvA) DNS September 16, / 46

DNS. dr. C. P. J. Koymans. September 16, Informatics Institute University of Amsterdam. dr. C. P. J. Koymans (UvA) DNS September 16, / 46 DNS dr. C. P. J. Koymans Informatics Institute University of Amsterdam September 16, 2008 dr. C. P. J. Koymans (UvA) DNS September 16, 2008 1 / 46 DNS and BIND DNS (Domain Name System) concepts theory

More information

Application Layer Protocols

Application Layer Protocols Application Layer Protocols Dr. Ihsan Ullah Department of Computer Science & IT University of Balochistan, Quetta Pakistan Email: ihsan.ullah.cs@gmail.com These slides are adapted from the slides accompanying

More information

Potential Name Syntax. Properties of Naming. Naming and system components. Naming and layering. Replicated storage, consistency

Potential Name Syntax. Properties of Naming. Naming and system components. Naming and layering. Replicated storage, consistency Naming and layering Naming and system components Replicated storage, consistency Caller Callee How to design interface between components? COS 518: Advanced Computer Systems Lecture 2 Mike Freedman Many

More information

Page 1. CS162 Operating Systems and Systems Programming Lecture 22. Networking III. Automatic Repeat Request

Page 1. CS162 Operating Systems and Systems Programming Lecture 22. Networking III. Automatic Repeat Request Review CS162 Operating Systems and Systems Programming Lecture 22 Networking III April 22, 2010 Ion Stoica http://inst.eecs.berkeley.edu/~cs162 Link (link) layer: Broadcast network; frames sent by one

More information

More Internet Support Protocols

More Internet Support Protocols More Internet Support Protocols Domain Name System (DNS) Ch 2.5 Problem statement: Average brain can easily remember 7 digits On average, IP addresses have 10.28 digits We need an easier way to remember

More information

CSCI-1680 DNS Rodrigo Fonseca

CSCI-1680 DNS Rodrigo Fonseca CSCI-1680 DNS Rodrigo Fonseca Based partly on lecture notes by Sco2 Shenker and John Janno6 Host names and IP Addresses Host names Mnemonics appreciated by humans Variable length, ASCII characters Provide

More information

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 401 Data and Computer Communications Networks Application Layer DNS and P2P Sec 2.4 2.5 Prof. Lina Battestilli Fall 2017 Outline Application Layer (ch 2) 2.1 principles of network applications 2.2

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Application Layer III Dmitri Loguinov Texas A&M University February 8, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

Networking Overview. CS Computer Security Profs. Vern Paxson & David Wagner

Networking Overview. CS Computer Security Profs. Vern Paxson & David Wagner Networking Overview CS 161 - Computer Security Profs. Vern Paxson & David Wagner TAs: John Bethencourt, Erika Chin, Matthew Finifter, Cynthia Sturton, Joel Weinberger http://inst.eecs.berkeley.edu/~cs161/

More information

2.5 DNS The Internet s Directory Service

2.5 DNS The Internet s Directory Service 130 CHAPTER 2 APPLICATION LAYER e-mail is also provided by Google, Yahoo!, as well as just about every major university and corporation. With this service, the user agent is an ordinary Web browser, and

More information

Application Layer. Goals:

Application Layer. Goals: Application Layer Goals: Conceptual aspects of network application protocols Client server paradigm Service models Learn about protocols by examining popular applicationlevel protocols HTTP DNS SMTP, POP3,

More information

Application Layer. Applications and application-layer protocols. Goals:

Application Layer. Applications and application-layer protocols. Goals: Application Layer Goals: Conceptual aspects of network application protocols Client server paradigm Service models Learn about protocols by examining popular applicationlevel protocols HTTP DNS SMTP, POP3,

More information

CSE 124: IP ADDRESSES, NAMING, AND DNS. George Porter Oct 4, 2017

CSE 124: IP ADDRESSES, NAMING, AND DNS. George Porter Oct 4, 2017 CSE 124: IP ADDRESSES, NAMING, AND DNS George Porter Oct 4, 2017 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) Dynamic

More information

Chapter 2 Application Layer

Chapter 2 Application Layer Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Chapter 2 outline. 2.1 Principles of app layer protocols

Chapter 2 outline. 2.1 Principles of app layer protocols Chapter 2 outline 2.1 Principles of app layer protocols clients and servers app requirements 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 Socket programming with TCP 2.7 Socket

More information

CSCD 330 Network Programming Winter 2015

CSCD 330 Network Programming Winter 2015 CSCD 330 Network Programming Winter 2015 Lecture 5 Application Layer Reading: Chapter 2 Still Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 More Network

More information

DNS & Iodine. Christian Grothoff.

DNS & Iodine. Christian Grothoff. DNS & Iodine christian@grothoff.org http://grothoff.org/christian/ The Domain Name System is the Achilles heel of the Web. Tim Berners-Lee 1 DNS: Domain Name System Unique Distributed Database Application-layer

More information

Application Layer. Pure P2P architecture. Client-server architecture. Processes communicating. Hybrid of client-server and P2P. Creating a network app

Application Layer. Pure P2P architecture. Client-server architecture. Processes communicating. Hybrid of client-server and P2P. Creating a network app Application Layer e- web instant messaging remote login PP file sharing multi- network games streaming stored video (YouTube) voice over IP real-time video conferencing cloud computing Creating a network

More information

Advanced Networking. Domain Name System

Advanced Networking. Domain Name System Advanced Networking Domain Name System Purpose of DNS servers Human being has many identifications: 1) Our name can be used for identification Problem: Two differenet people may have same name. 2) Mobile

More information

Advanced Networking. Domain Name System. Purpose of DNS servers. Purpose of DNS servers. Purpose of DNS servers

Advanced Networking. Domain Name System. Purpose of DNS servers. Purpose of DNS servers. Purpose of DNS servers Purpose of DNS servers Advanced Networking Domain Name System Human being has many identifications: 1) Our name can be used for identification Problem: Two differenet people may have same name. 2) Mobile

More information

Missing pieces + Putting the pieces together

Missing pieces + Putting the pieces together Missing pieces + Putting the pieces together CS 168, Fall 2014 Sylvia Ratnasamy Material thanks to Ion Stoica, Scott Shenker, Jennifer Rexford, Nick McKeown, and many other colleagues Today Switched Ethernet

More information

Introduction to Computer Networking. Guy Leduc. Chapter 2 Application Layer. Chapter 2: outline

Introduction to Computer Networking. Guy Leduc. Chapter 2 Application Layer. Chapter 2: outline Introduction to Computer Networking Guy Leduc Chapter 2 Application Layer Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross Addison-Wesley, March 2012 2: Application Layer

More information

Protocol Classification

Protocol Classification DNS and DHCP TCP/IP Suite Suite of protocols (not just TCP and IP) Main protocols TCP and UDP at the Transport Layer, and IP at the Network Layer Other protocols ICMP, ARP, Telnet, Ftp, HTTP, SMTP, SNMP

More information

Application Layer. Pure P2P architecture. Client-server architecture. Processes communicating. Hybrid of client-server and P2P. Creating a network app

Application Layer. Pure P2P architecture. Client-server architecture. Processes communicating. Hybrid of client-server and P2P. Creating a network app Application Layer e- web instant messaging remote login P2P file sharing multi- network games streaming stored video (YouTube) voice over IP real-time video conferencing cloud computing Creating a network

More information

Application-layer Protocols

Application-layer Protocols Application-layer Protocols Kai Shen application transport data link physical Network Applications and Application-Layer Protocols application transport data link physical application transport data link

More information

Missing pieces + Putting the pieces together

Missing pieces + Putting the pieces together Missing pieces + Putting the pieces together EE 122, Fall 2013 Sylvia Ratnasamy http://inst.eecs.berkeley.edu/~ee122/ Material thanks to Ion Stoica, Scott Shenker, Jennifer Rexford, Nick McKeown, and many

More information

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing Last time Network layer Introduction forwarding vs. routing Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding tables, longest prefix matching IP: the Internet Protocol

More information

Client Server Concepts, DNS, DHCP

Client Server Concepts, DNS, DHCP Client Server Concepts, DNS, DHCP Prof. I. Sengupta / Dr. S.K. Ghosh School of Information Technology Indian Institute of Technology, Kharagpur 1 Client-Server Model 2 Client-server Model Standard model

More information

NAMING, DNS, AND CHORD

NAMING, DNS, AND CHORD NAMING, DNS, AND CHORD George Porter Oct 30 and Nov 1, 2018 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license These

More information

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner Communication Networks (0368-3030) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University Allon Wagner Kurose & Ross, Chapter 4 (5 th ed.) Many slides adapted from: J. Kurose & K. Ross

More information

9/8/2016. Network Architecture and Protocols. Outline. Layering: A Modular Approach. Layer Encapsulation. IP Layer. IP Layer

9/8/2016. Network Architecture and Protocols. Outline. Layering: A Modular Approach. Layer Encapsulation. IP Layer. IP Layer Outline Network rchitecture and Protocols Network Layers Internet Protocol () TCP and UDP IT443 Network Security dministration Slides courtesy of o Sheng 1 2 Layering: Modular pproach Layer Encapsulation

More information

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS.

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Table of Contents Specification and implementation DNS dr. C. P. J. Koymans Informatics Institute University of Amsterdam September 14, 2009 A short history of DNS Root servers Basic concepts Delegation

More information

Project 3a is out! Goal: implement a basic network firewall. Due: Nov noon. l We give you the VM & framework. l You implement the firewall logic.

Project 3a is out! Goal: implement a basic network firewall. Due: Nov noon. l We give you the VM & framework. l You implement the firewall logic. Project 3a is out! Goal: implement a basic network firewall l We give you the VM & framework. l You implement the firewall logic. Due: Nov 17 @ noon 1 What Is Firewall? Blocks malicious traffic Blocks

More information

DNS Basics BUPT/QMUL

DNS Basics BUPT/QMUL DNS Basics BUPT/QMUL 2018-04-16 Related Information Basic function of DNS Host entry structure in Unix Two system calls for DNS database retrieving gethostbyname () gethostbyaddr () 2 Agenda Brief introduction

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 6

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 6 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 6 1 Midterm room for overflow students The students who used my registration code to enroll

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2012 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Midterm Exam Tuesday, October 16 th Format Short answer problems No questions on programming Closed notes Closed

More information

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6 Manual Configuration Stateful Address Configuration (i.e. from servers) BOOTP DHCPv4, DHCPv6 Stateless Auto : IPv6 최양희서울대학교컴퓨터공학부 2005 Yanghee Choi 2 RARP Hardware address ---> IP address requires direct

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 5

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 5 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 5 1 Any problem of your lab? Due by next Monday (Jan 29) Using Canvas? Email me cqian12@ucsc.edu

More information

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall CSE 123b CSE 123b Communications Software Spring 2003 Lecture 11: Domain Name System (DNS) Stefan Savage Some pictures courtesy David Wetherall & Srini Seshan Where we ve been & where we re going Low-level

More information

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames CSE 123b Communications Software Spring 2003 Lecture 11: Domain Name System (DNS) Stefan Savage Where we ve been & where we re going Low-level networking (so far) Internetworking architecture Packet Forwarding

More information

CSCI-1680 DNS Rodrigo Fonseca

CSCI-1680 DNS Rodrigo Fonseca CSCI-1680 DNS Rodrigo Fonseca Based partly on lecture notes by Scott Shenker and John Jannotti We know how to open TCP connections to a server/port: E.g., 128.148.32.110, port 80 Host names and IP Addresses

More information

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport 1 Outline Introduction Name Space concepts Domain Name Space

More information

CSC 574 Computer and Network Security. DNS Security

CSC 574 Computer and Network Security. DNS Security CSC 574 Computer and Network Security DNS Security Alexandros Kapravelos kapravelos@ncsu.edu (Derived from slides by Will Enck and Micah Sherr) A primer on routing Routing Problem: How do Alice s messages

More information

ECE 4450:427/527 - Computer Networks Spring 2017

ECE 4450:427/527 - Computer Networks Spring 2017 ECE 4450:427/527 - Computer Networks Spring 2017 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 6.2: IP Dr. Nghi Tran (ECE-University of Akron) ECE 4450:427/527 Computer Networks

More information

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols Guide to Networking Essentials, 6 th Edition Chapter 5: Network Protocols Objectives Describe the purpose of a network protocol, the layers in the TCP/IP architecture, and the protocols in each TCP/IP

More information

Addressing and Switching in the Link Layer

Addressing and Switching in the Link Layer Addressing and Switching in the Link Layer Stefano Vissicchio UCL Computer Science COMP00 Recap: We have done a full pass on the stack email WWW phone...! SMTP HTTP RTP...! TCP UDP!! IP! When and how to

More information

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Root servers.

Table of Contents DNS. Short history of DNS (1) DNS and BIND. Specification and implementation. A short history of DNS. Root servers. Table of Contents Specification and implementation DNS Karst Koymans Informatics Institute University of Amsterdam (version 1.11, 2010/10/04 10:03:37) Tuesday, September 14, 2010 A short history of DNS

More information

CSCD 330 Network Programming Spring 2018 Lecture 5 Application Layer. Reading: Chapter 2 Still

CSCD 330 Network Programming Spring 2018 Lecture 5 Application Layer. Reading: Chapter 2 Still CSCD 330 Network Programming Spring 2018 Lecture 5 Application Layer Reading: Chapter 2 Still Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 More Network

More information

12. Name & Address 최양희서울대학교컴퓨터공학부

12. Name & Address 최양희서울대학교컴퓨터공학부 12. Name & Address 최양희서울대학교컴퓨터공학부 How do you get IP address? Manual Configuration Stateful Address Configuration (i.e. from servers) BOOTP DHCPv4, DHCPv6 Stateless Autoconfiguration : IPv6 2009 Yanghee

More information

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16 CIS 551 / TCOM 401 Computer and Network Security Spring 2006 Lecture 16 Announcements Midterm II March 21st (One week from today) In class Same format as last time Will cover all material since Midterm

More information

DNS Review Quiz. Match the term to the description: A. Transfer of authority for/to a subdomain. Domain name DNS zone Delegation C B A

DNS Review Quiz. Match the term to the description: A. Transfer of authority for/to a subdomain. Domain name DNS zone Delegation C B A DNS Review Quiz Match the term to the description: C B A Level: Domain name DNS zone Delegation Descriptions: A. Transfer of authority for/to a subdomain B. A set of names under the same authority (ie.com

More information

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer CPSC 360 Network Programming Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer Systems Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu

More information

CompSci 356: Computer Network Architectures. Lecture 20: Domain Name System (DNS) and Content distribution networks Chapter 9.3.1

CompSci 356: Computer Network Architectures. Lecture 20: Domain Name System (DNS) and Content distribution networks Chapter 9.3.1 CompSci 356: Computer Network Architectures Lecture 20: Domain Name System (DNS) and Content distribution networks Chapter 9.3.1 Xiaowei Yang xwy@cs.duke.edu Overview Domain Name System Content Distribution

More information

f.root-servers.net ISOC cctld Workshop Nairobi, Kenya, 2005

f.root-servers.net ISOC cctld Workshop Nairobi, Kenya, 2005 f.root-servers.net ISOC cctld Workshop Nairobi, Kenya, 2005 The Basics DNS The Domain Name System is a huge database of resource records globally distributed, loosely coherent, scaleable, reliable, dynamic

More information

Domain Name System (DNS)

Domain Name System (DNS) CPSC 360 - Network Programming Domain Name System (DNS) Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu April 15, 2005 http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information