当前位置:网站首页>DNS解析过程【访问网站】
DNS解析过程【访问网站】
2022-07-31 00:00:00 【Miracle_ze】
DNS解析网站过程
1.检查本地DNS缓存,看缓存是否有解析数据
windows
ipconfig /all
Liunx
dig www.baidu.com
nslookup www.baidu.com
2.查看本地hosts文件【本地域名解析文件】
window与Liunx都是在hosts文件里面
3.本机固定的DNS服务器(路由器) 找到13根域服务器【使用迭代查找】
4.根域找到找到顶级域,而百度顶级域是.com,com找到baidu域名
如此给你返回结果;返回到主机
5.和百度服务器建立TCP可靠连接,三次握手
三次握手
建立完连接后,keep-alive保活,request返回信息,response回答。最终通过浏览器实现解析页面
边栏推荐
- Linux 部署mysql 5.7全程跟踪 完整步骤 django部署
- Android安全性优化——APP加固
- mysql 中手动设置事务提交
- In MySQL, the stored procedure cannot realize the problem of migrating and copying the data in the table
- Point Cloud Scene Reconstruction with Depth Estimation
- 测试人面试 常被问到的计算机网络题,高薪回答模板来了
- align-content、justify-content、align-items三个属性的作用和效果
- 46.<list链表的举列>
- How to ensure the consistency of database and cache data?
- An easy-to-use interface testing tools - the Postman
猜你喜欢
随机推荐
oracle数据库版本问题咨询(就是对比从数据库查询出来的版本,和docker里面的oracle版本)?
JS中? ?和??=和?.和 ||的区别
xss绕过:prompt(1)
transition transition && animation animation
10 个关于自动化发布管理的好处
leetcode:127. Word Solitaire
ZZULIOJ: 1120: the most value to exchange
2021GDCPC Guangdong University Student Programming Competition H.History
Shell脚本 if语句
joiplay模拟器如何导入游戏存档
[Meng Xin problem solving] Delete the Nth node from the bottom of the linked list
Bugku sql注入
封装、获取系统用户信息、角色及权限控制
CPM:A large-scale generative chinese pre-trained lanuage model
flex布局父项常见属性flex-wrap
Summary of BFS questions
天空云变化案例
Jetpack Compose学习(8)——State及remeber
.NET Cross-Platform Application Development Hands-on Tutorial | Build a Kanban-style Todo App with Uno Platform
XSS相关知识