当前位置:网站首页>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 .
边栏推荐
- Split small interface
- [solved] unknown error 1146
- "Baidu Cup" CTF game 2017 February, Web: blast-1
- 1. E-commerce tool cefsharp autojs MySQL Alibaba cloud react C RPA automated script, open source log
- dataworks自定义函数开发环境搭建
- Resthighlevelclient gets the mapping of an index
- Use the jvisualvm tool ----- tocmat to start JMX monitoring
- PHP install composer
- How to specify the execution order for multiple global exception handling classes
- 4279. 笛卡尔树
猜你喜欢
Win 10 find the port and close the port
"Baidu Cup" CTF game 2017 February, Web: blast-1
1. E-commerce tool cefsharp autojs MySQL Alibaba cloud react C RPA automated script, open source log
Winter vacation work of software engineering practice
Practice of enterprise ab/testing platform
Reading notes of "learn to ask questions"
《指环王:力量之戒》新剧照 力量之戒铸造者亮相
C代码生产YUV420 planar格式文件
POI excel percentage
MySQL installation
随机推荐
"Baidu Cup" CTF game 2017 February, Web: blast-1
JMeter JSON extractor extracts two parameters at the same time
Final, override, polymorphism, abstraction, interface
POI excel percentage
【已解决】win10找不到本地组策略编辑器解决方法
CentOS php7.3 installing redis extensions
Laravel Web框架
Sorting, dichotomy
691. Cube IV
php artisan
Hash table, generic
SharePoint modification usage analysis report is more than 30 days
Thoughts on project development
"Moss ma not found" solution
Jmeter+influxdb+grafana of performance tools to create visual real-time monitoring of pressure measurement -- problem record
[most detailed] latest and complete redis interview book (50)
File links cannot be opened or downloaded in Google browser
万卷书 - 价值投资者指南 [The Education of a Value Investor]
3311. 最长算术
Search engine Bing Bing advanced search skills