当前位置:网站首页>Visit Google homepage to display this page, which cannot be displayed
Visit Google homepage to display this page, which cannot be displayed
2022-07-03 07:16:00 【Lament the famine】
When we visit Google When the home page shows that the page cannot be displayed , What happened?
First, we enter www.goole.com
Our host will send a ARP Request message , A broadcast packet , Send a message to all hosts in this network segment , I want to know the gateway address that can take us to the Internet , Gateway sees ip The address is its own , give ARP reply
Then our application layer DNS start-up , Configured for us DNS The server sends a message DNS Query packets , and DNS The default server is outside the gateway by default , That is, we must successfully configure the gateway address before we can correctly receive DNS Respond to , To get the corresponding Google domain name IP Address , To establish a connection between two hosts . Under normal circumstances , Our host knows the default from the network configuration already configured in our host DNS The server , Send them DNS request , And it is recursive query , That is, if there is no , Instead of the client, send DNS request , Finally, we take a DNS Respond to the packet to obtain the relevant domain name IP Address .
Be careful :
1. If we were local hosts There are relevant domain name mappings in the file , We will not initiate DNS analysis
2. If the browser DNS There is relevant information in the cache , We will not initiate DNS analysis
We know Google ip After the address , We will establish TCP Shake hands three times to connect and then send HTTP request , Finally HTTP Reply and TCP Four handshakes end the connection .
Cause of error :
If our gateway address is configured incorrectly, our DNS The request message cannot reach through the router at all Internet, That is, we take a series of DNS request , End the conversation , What passed to our website is , Web page not accessible .
Redirection error :
Input www.google.com Then our host sent it directly ARP request : The corresponding is who has This ip Address , obtain ARP Respond to : This ip Address of the Mac Address .
The gateway address is not requested , The next one is not initiated by the external server DNS Request packet , It is TCP Of SYN paragraph , What you get is sent back by the corresponding intranet address RST,ACK Data packets , Is the packet that ends the connection .
Explain us hosts There is corresponding address mapping in the file , This leads us to think Google In the local network segment , Got it ARP After responding, we try to 80 Port initiation TCP Connect , Because the system is not configured to Web The server , Therefore, it cannot accept this connection request , In response RST Data packets . Then our host sends TCP spurious retransmission,TCP False retransmission , Receive RST Respond to .
From the above analysis, we can know , Redirection causes us to locate other designated hosts when we visit the web page , Specified page , adopt Wireshark Through packet capturing analysis, we can know , Missing the key DNS Requests and responses .
To sum up , If our host ARP The cache table contains the corresponding gateway router Mac-IP cache , Then... Can be missing in the flow ARP Requests and responses .
without DNS Requests and responses , It's probably ours DNS Caching or hosts There are... In the file IP- Domain mapping .
By analyzing the data packets, we can know that the server configuration is wrong , Or our host configuration is wrong , You can also know whether DNS Server error , Or the router goes wrong .
边栏推荐
猜你喜欢

Notes on the core knowledge of Domain Driven Design DDD

IP home online query platform
![[Fiddler problem] solve the problem about Fiddler's packet capturing. After the mobile network is configured with an agent, it cannot access the Internet](/img/9d/42dfef67246740f0dba0c6d8f1b625.jpg)
[Fiddler problem] solve the problem about Fiddler's packet capturing. After the mobile network is configured with an agent, it cannot access the Internet

MySQL installation

【已解决】Unknown error 1146

Pat grade a real problem 1166

dataworks自定义函数开发环境搭建

PAT甲级真题1166

Winter vacation work of software engineering practice

1. E-commerce tool cefsharp autojs MySQL Alibaba cloud react C RPA automated script, open source log
随机推荐
[untitled]
深度学习参数初始化(一)Xavier初始化 含代码
Setting up the development environment of dataworks custom function
[solved] sqlexception: invalid value for getint() - 'Tian Peng‘
Basic knowledge about SQL database
Laravel Web框架
Advanced API (byte stream & buffer stream)
Laravel框架 踩坑(一)
sharepoint 2007 versions
Specified interval inversion in the linked list
Discussion on some problems of array
SecureCRT取消Session记录的密码
Tool class static method calls @autowired injected service
[solved] unknown error 1146
Software testing assignment - the next day
How can I split a string at the first occurrence of “-” (minus sign) into two $vars with PHP?
gstreamer ffmpeg avdec解码数据流向分析
My 2020 summary "don't love the past, indulge in moving forward"
crontab定时任务
"Baidu Cup" CTF game 2017 February, Web: blast-1