1 / 13

Content Delivery Network 과 DNS

Content Delivery Network 과 DNS. 왜 CDN 인가 ?. local content server. Contents server 를 customer 에 가까운 위치에 둔다 . 적은 홉 (hop) 수 이점 데이터를 가져오는 시간을 줄인다 . TCP 의 성능을 높인다 . 망 대역을 효율적으로 사용한다 . DDOS 공격에 대한 보호. original content server. Global CDN. 인터넷 생태계 CP(content provider)

mimi
Télécharger la présentation

Content Delivery Network 과 DNS

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. Content Delivery Network과 DNS

  2. 왜 CDN인가? local content server • Contents server를 customer에 가까운 위치에 둔다. • 적은 홉(hop)수 • 이점 • 데이터를 가져오는 시간을 줄인다. • TCP의 성능을 높인다. • 망 대역을 효율적으로 사용한다. • DDOS 공격에 대한 보호 original content server

  3. Global CDN 인터넷 생태계 CP(content provider) 망 사업자(ISP 포함) CDN 여러 global CDN 업체들이 경쟁 많은 web service 업체들은 CDN을 통해 서비스 제공

  4. CDN의 과제 • 어떻게 local content server는 original content server와 동일한 데이터를 갖도록 할 것인가?(cache synchronization) • Static contents와 dynamic contents • 어떻게 customer에게 optimal(local) content server의 IP 주소를 알려 줄 것인가?

  5. DNS 계층의 최상위에 위치하여 local DNS 서버에게 TLD 도메인 서버의 주소를 알려 준다. DNS: Root name servers a Verisign, Dulles, VA c Cogent, Herndon, VA (also LA) d U Maryland College Park, MD g US DoD Vienna, VA h ARL Aberdeen, MD j Verisign, ( 21 locations) k RIPE London (also 16 other locations) i Autonomica, Stockholm (plus 28 other locations) m WIDE Tokyo (also Seoul, Paris, SF) e NASA Mt View, CA f Internet Software C. Palo Alto, CA (and 36 other locations) 13 root name servers worldwide b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA

  6. TLD and Authoritative Servers • Top-level domain (TLD) servers: • com, org, net, edu 등, 그리고 kr, jp, uk와 같은 top-level 국가 도메인을 담당하는 서버 • 예를 들면 com TLD 서버는 com 도메인의 서버 주소를 갖고 있다. • authorative DNS servers: • 특정 기관의 DNS 서버로서 그 기관의 네트워크에 접속된 모든 호스트들의 주소를 갖고 있다.

  7. local DNS server dns.poly.edu DNS 서비스의 예 root DNS server 2 • 호스트(cis.poly.edu)가 호스트(gaia.cs.umass.edu)의 IP 주소를 찾을 때, • 1과 2: cis.poly.edu의 local network에 있는 도메인 서버(dns.poly.edu)는 root 도메인 서버에 묻는다. • 3: root 서버는 edu 도메인 서버의 주소를 알려준다. • 4: edu 도메인(TLD)의 서버에 묻는다. • 5: edu 도메인 서버는 cs.umass.edu 도메인 서버의 주소를 알려준다. • 6과 7: cs.umass.edu 도메인 서버에 물어서 최종적으로 gaia.cs.umass.edu의 주소를 받는다. 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

  8. DNS 서버는 다음과 같은 resource records (RR)를 data base로 갖고 있다. Type=NS Name: domain (e.g. foo.com) Value: 이 도메인의 authoritative name server의 IP 주소 RR format: (name, value, type, ttl) DNS records • Type=A • Name: hostname • Value: IP address • Type=CNAME • Name: “canonical” (the real) name의 또 다른 이름 • Value: canonical name • Type=MX • Value: name과 연관된 메일 서버의 이름

  9. DNS protocol :query와reply메시지, 동일한message format 사용 DNS 메시지(1) • 메시지 헤더 • identification: 16 bit # for query, reply to query uses same # • flags: • query or reply • recursion desired • recursion available • reply is authoritative

  10. DNS 메시지(2) Name, type fields for a query RRs in response to query records for authoritative servers additional “helpful” info that may be used

  11. CDN의 DNS 예(1) • 사용자는 www.example.com을 입력 • DNS 서버는 optical Akamai 서버의 IP 주소를 리턴 • Brower는 HTML을 요청 • Akamai 서버는 요청한 content를 구성 5. Akamai 서버는 Akamized HTML을 리턴 6. Browser는 content 내 object를 다운로드하는데 최적의 Akamai 서버의 IP 주소를 얻음 7. 최적의 Akamai 서버로부터 object 다운로드

  12. CDN의 DNS 예(2)

  13. CDN 트래픽 비교 Inbound : original web server에서부터 Akamai 서버로 가는 트래픽 Outbound: Akamai 서버로부터 사용자로 가는 트래픽

More Related