ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

How Amazon Route 53 routes traffic for your domain

2022-09-04 22:32:09  阅读:229  来源: 互联网

标签:web domain name Route 53 DNS resolver com example


After you configure Amazon Route 53 to route your internet traffic to your resources, such as web servers or Amazon S3 buckets, here's what happens in just a few milliseconds when someone requests content for www.example.com:

[Conceptual graphic that shows how the Domain Name System and Route 53 route internet traffic to the resources for www.example.com.]

    1. A user opens a web browser, enters www.example.com in the address bar, and presses Enter.

    2. The request for www.example.com is routed to a DNS resolver, which is typically managed by the user's internet service provider (ISP), such as a cable internet provider, a DSL broadband provider, or a corporate network.

    3. The DNS resolver for the ISP forwards the request for www.example.com to a DNS root name server.

    4. The DNS resolver forwards the request for www.example.com again, this time to one of the TLD name servers for .com domains. The name server for .com domains responds to the request with the names of the four Route 53 name servers that are associated with the example.com domain.

      The DNS resolver caches (stores) the four Route 53 name servers. The next time someone browses to example.com, the resolver skips steps 3 and 4 because it already has the name servers for example.com. The name servers are typically cached for two days.

    5. The DNS resolver chooses a Route 53 name server and forwards the request for www.example.com to that name server.

    6. The Route 53 name server looks in the example.com hosted zone for the www.example.com record, gets the associated value, such as the IP address for a web server, 192.0.2.44, and returns the IP address to the DNS resolver.

    7. The DNS resolver finally has the IP address that the user needs. The resolver returns that value to the web browser. Note
      The DNS resolver also caches the IP address for example.com for an amount of time that you specify so that it can respond more quickly the next time someone browses to example.com. For more information, see time to live (TTL).

    8. The web browser sends a request for www.example.com to the IP address that it got from the DNS resolver. This is where your content is, for example, a web server running on an Amazon EC2 instance or an Amazon S3 bucket that's configured as a website endpoint.

    9. The web server or other resource at 192.0.2.44 returns the web page for www.example.com to the web browser, and the web browser displays the page.

 

Quote from:https://github.com/awsdocs/amazon-route53-docs/blob/master/doc_source/welcome-dns-service.md

标签:web,domain,name,Route,53,DNS,resolver,com,example
来源: https://www.cnblogs.com/sycosmos/p/16656332.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有