DOC PREVIEW
UW-Madison CS 640 - CS 640 Lecture Notes

This preview shows page 1-2 out of 6 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1CS 640CS 640 Introduction to Computer NetworksLecture 3CS 640Today’s lecture• Domain Name System– Overview– The hierarchy of domain names– DNS records– The resolution process CS 640Domain Name System Overview• What are names used for in general?– identify objects– locate objects– define membership in a group –…• Basic Terminology– Name space• defines set of possible names • consists of a set of name to value bindings– Resolution mechanism• when invoked with a name returns corresponding value2CS 640DNS Properties • Size of Internet demands robust naming mechanism– Specified in RFC 1034, 1035 (Mockapetris ‘87)– Scalability through caching and hierarchy– Reliability through caching and redundancy• Names versus addresses– Human readable versus router readable– Location transparent versus location-dependent • Hierarchical– Names are divided into components• Global versus local – What is the scope of naming?CS 640Examples of Mappings•Hostspluto.cs.wisc.edu 192.12.69.17192.12.69.17 80:23:A8:33:5B:9F• Files/usr/llp/tmp/foo (server, fileid)•Users Suman Banerjee [email protected] 640Examples (cont)• Mailboxes• Servicesnearby ps printer with short queue and 2MBNameserverMailprogramUserTCPIP2cs.wisc.edu192.12.69.53user @ cs.wisc.edu1192.12.69.54192.12.69.553CS 640Domain Naming System• Hierarchical name space for Internet objects• Names are read from right to left separated by periods– Each suffix in a domain name is a domainwail.cs.wisc.edu, cs.wisc.edu, wisc.edu, eduedu comprinceton … mitcs eeux01 ux04physicscisco … yahoo nasa … nsf arpa … navy acm … ieeegov mil org net uk frCS 640Name Servers• Partition hierarchy into zones (administrative authorities)edu comprinceton…mitcs eeux01 ux04physicscisco…yahoo nasa…nsf arpa…navy acm…ieeegov mil org net uk frRootname server.eduname server.comname serverMITname serverUWname server……• Each zone implemented by two or more authoritative nameservers CS 640Resource Records • Each name server maintains a collection of resource records (Name, Value, Type, Class, TTL)– Each record is a translation based on type– Name/Value: not necessarily host names to IP addresses• Type (some examples)– A: Name = full domain name, Value = IP address– NS: Value gives domain name for host running name server that knows how to resolve names within specified domain.– CNAME: Value gives canonical name for particle host; used to define aliases.– MX: Value gives domain name for host running mail server that accepts messages for specified domain.• Class: allow other entities (other than NIC) to define types– IN is what is used by the Internet• TTL: how long the resource record is valid4CS 640gTLD Name ServerMay contain the following resource records:(wisc.edu, dns.wisc.edu, NS, IN)(dns.wisc.edu, 128.105.12.11, A, IN)(cisco.com, thumper.cisco.com, NS, IN)(thumper.cisco.com, 128.96.32.20, A, IN)…CS 640Wisconsin ServerMay contain the following resource records:(cs.wisc.edu, dns.cs.wisc.edu, NS, IN)(dns.cs.wisc.edu, 128.105.2.10, A, IN)(ece.wisc.edu, dns.ece.wisc.edu, NS, IN)(dns.ece.wisc.edu, 128.105.40.12, A, IN)(host1.cs.wisc.edu, 128.105.9.103, A, IN)(host2.cs.wisc.edu, 128.105.9.13, A, IN)CS 640CS ServerCS server may contain following resource records:(cs.wisc.edu, norm.cs.wisc.edu, MX, IN)(norm.cs.wisc.edu, 128.105.8.45, A, IN)(n.cs.wisc.edu, norm.cs.wisc.edu, CNAME, IN)(othello.cs.wisc.edu, 128.105.167.12, A, IN)(o.cs.wisc.edu, othello.cs.wisc.edu, CNAME, IN)5CS 640Name Resolution • Strategies – forward – iterative– recursive• Local server – need to know root at only one place (not each host) – site-wide cache.edunameserverWisconsinnameserverCSnameserverLocalnameserverClient1othello.cs.wisc.edu128.105.167.128othello.cs.wisc.eduwisc.edu, 128.196.128.233othello.cs.wisc.eduothello.cs.wisc.edu,128.105.167.12othello.cs.wisc.educs.wisc.edu, 128.105.2.10234567HomeclientName Serverof CharterComm.CS 640DNS Issues• Top level domain names are tightly controlled• Before an institution is granted authority for a second-level domain, it must agree to operate a DNS server that meets Internet standards.– Eg. all DNS info must be replicated on separate systems • DNS is very important in the Internet– Security of this system is strict• DNS lookups can affect performance• In practice DNS more complicated than you might thinkCS 640PTR Record• Used for IP to name resolution• For IP address: a.b.c.d– PTR record stored at: d.c.b.a.in-addr.arpa.• All PTR records are stored under in-addr.arpa. domain• Consider the zone: 105.128.in-addr.arpa– This will typically be under control of CS dept of Wisconsin (since 128.105/16 belongs to the CS dept)• PTR zone and the usual namespace zone may be inconsistent6CS 640Resilience of DNS to attacks• January 2001 flooding attack against Microsoft’s name servers– Service went down because they were all on the same subnet• October 2002 flooding attack on the 13 root name servers– 4 servers survivedCS 640Other Naming Protocols• X.500– Naming system designed to identify people– Each person is defined by attributes•Name• Title•…– Too cumbersome• Lightweight Directory Access Protocol (LDAP)– Evolved from X.500– System for learning about


View Full Document

UW-Madison CS 640 - CS 640 Lecture Notes

Documents in this Course
Security

Security

21 pages

Mobile IP

Mobile IP

16 pages

Lecture 7

Lecture 7

36 pages

Multicast

Multicast

38 pages

Load more
Download CS 640 Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view CS 640 Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view CS 640 Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?