1 / 14

Chapter 25 DNS (Domain Name System)

Chapter 25 DNS (Domain Name System). DNS. 도메인 이름에 해당하는 호스트의 IP 주소를 찾아주는 시스템 ( 혹은 서비스 ) 이다. Domain name 의 계층적 구조. Domain name 은 계층적 구조에 의해 만들어진다. Top-lever domain. Top-lever domain names. Domain Name Servers. Client 는 root server 에 com DNS server 의 주소를 묻는다 .

Télécharger la présentation

Chapter 25 DNS (Domain Name System)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 25 DNS (Domain Name System)

  2. DNS • 도메인 이름에 해당하는 호스트의 IP 주소를 찾아주는 시스템(혹은 서비스)이다.

  3. Domain name의 계층적 구조 • Domain name은 계층적 구조에 의해 만들어진다.

  4. Top-lever domain

  5. Top-lever domain names

  6. Domain Name Servers • Client는 root server에 com DNS server의 주소를 묻는다. • Client는 com DNS server에게 amazon.com DNS server의 주소를 묻는다. • Client는 amazon.com DNS server에게 www.amazon.com의 주소를 묻는다. Root server Top-lever Domain server

  7. 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 e NASA Mt View, CA f Internet Software C. Palo Alto, CA (and 17 other locations) b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA Root server • Root server는 TLD 서버의 주소를 갖고 있다. 13 root name servers worldwide

  8. TDL server Authoritative server 실제 DN과 IP 주소의 매핑 정보를 갖고 있는 특정 기관의 서버 Local server (default name server) 처음 query가 발생할 때 이 query 메시지가 전달되는 DNS 서버이다. DNS 서버

  9. 호스트 cis.poly.edu는 gaia.cs.umass.edu의 IP 주소를 알고싶다. local DNS server dns.poly.edu 예(iterative query) root DNS server 2 3 TLD DNS server 4 5 6 7 1 8 authoritative DNS server dns.cs.umass.edu requesting host cis.poly.edu gaia.cs.umass.edu

  10. root DNS server 2 3 6 7 TLD DNS server 4 local DNS server dns.poly.edu 5 1 8 authoritative DNS server dns.cs.umass.edu requesting host cis.poly.edu gaia.cs.umass.edu 예:recursive queries

  11. DNS 메시지 • 두 개의 메시지를 사용한다: query와 response

  12. 일단 name server는 매핑 정보를 얻으면, 매핑 정보를 캐쉬에 기록해 둔다. 캐쉬 정보는 일정 시간이 경과하면 삭제된다. 일반적으로 TLD servers의 정보는 local name servers의 캐쉬에 기록된다. 따라서 보통 root name server까지 query가 가지 않는다. DNS: caching and updating records

  13. DNS database: resource records (RR)의 집합 Type=NS Name은 domain (e.g. foo.com) Value는 이 도메인의 aurthoritative name server의 호스트 네임 RR format: (name, value, type, ttl) DNS records • Type=A • Name은 hostname • Value는 IP address • Type=CNAME • Name은 “canonical” (the real) name에 대한 또 다른 이름 • value is canonical name • Type=MX • Value는 name과 연관된 메일서버의 이름

  14. 예: “networkuptopia.com”을 registrar (예, ISP)에 등록하려 한다. Registrar에게 authoritative name server (primary and secondary)의 이름과 IP 주소를 알려준다. Registrar는 두개의 RR을 com TLD server에 등록한다. (networkutopia.com, dns1.networkutopia.com, NS) (dns1.networkutopia.com, 212.212.212.1, A) authoritative server에는 www.networkuptopia.com에 대한 Type A record를 추가하고 networkutopia.com에 대해서는 Type MX record를 추가한다. 새로운 이름을 DNS에 등록하는 절차

More Related