99

DNS递归和迭代查询原理-风花

 6 years ago
source link: http://blog.51cto.com/hbgslz/2074068
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
域名解析过程:①访问www.baidu.com域名时,操作系统会先检查自己本地的hosts文件是否有这个网址映射关系,如果有,就先调用这个IP地址映射,完成域名解析。②如果hosts里没有这个域名的映射,则查找本地DNS缓存,是否有这个网址映射关系,如果有,则直接返回,完成域名解析。③如果hosts与本地DNS缓存都没有相应的网址映射关系,首先会找网卡配置中TCP/IP参数的首选DNS服务器查询。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK