DNS解析过程简述
2016-06-03 17:05
381 查看
以example.com为例,top-level domain为.com,然后是second-level domain,example.com.
如图所示,对于example.com的解析可以分为下面几步:
client向本地dns server请求解析example.com的ip地址(client请求是recursive的);
本地dns server去root server(TLD,top-level domains),即全球13个根服务器,去查找.com 这个top-level domain的地址;
root name server返回给本地dns server, .com 的地址;
本地dns server向.com name server请求example.com的name server;
返回example.com的name server;
本地dns server去example.com的name server,也就是example.com的authoritative name server,请求example.com对应的ip;
返回对应的ip地址;
本地dns server向client返回example.com对应的ip。
中间在找example.com的authoritative name server过程中,有可能牵扯更多的步骤,不过原理都是类似的,In typical operation, the root servers will not answer directly, but will respond with a referral to more authoritative servers。
相关文章推荐
- java通过包装类各种类型转换String,String转换成各种类型
- Masonry 中 省去 MAS前缀的方法
- Android屏幕适配全攻略(最权威的官方适配指导)
- 在线客服系统与呼叫中心的集成
- 利用Runtime为Category添加属性
- 购书策略问题
- 同步时间
- unity插件playmaker调用模板,遍历数组
- 169MajorityElement
- 从头到尾彻底理解傅里叶变换算法、下
- 响应式布局layout
- 使用TextInputLayout分分钟构造一个酷炫登录框架
- 揭开Spring事务处理
- union 和 struct 的区别与联系
- 71. Simplify Path
- 第十五周项目1:阅读程序,领会STL用法(3)
- UVA1637Double Patience(概率 + 记忆化搜索)
- iOS设置圆角的几种方式
- mybatis 中 foreach collection的三种用法
- Servlet建立一个图片验证码程序