In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When there is an error in DNS resolution, that is, when a domain name is resolved to an incorrect IP address, or we do not know what the IP address corresponding to a domain name is, we will not be able to access the corresponding site through the domain name. This is the DNS resolution failure. The biggest symptom of DNS resolution failure is that there is no problem accessing the corresponding IP address of the site, but there will be an error when accessing his domain name.
The method of judging whether there is a DNS parsing fault
Click start-> run-> enter "CMD" and enter "nslookup". Enter your domain name. If the message "DNS request timed out,timeout was 2 seconds" appears, there is something wrong with DNS. If the DNS resolution is normal, the correct IP address will be returned.
The method of solving DNS parsing error
1: how to change the local DNS
At present, domestic telecom operators use DNS hijacking to interfere with users' normal access to the Internet, making it impossible for users to access (for example, pop-up advertising windows), so I have been using GoogleDNS, which can solve not only the rogue behavior of Chinese telecom operators, but also the inaccessibility of domain names.
Tips: click start-> Settings-> Network connection-> Local connection-> Properties-> TCP/IP Protocol-> use the DNS server address below, enter "8.8.8.8" and "8.8.4.4" in the box to disconnect from the network, and there is no DNS hijacking problem such as Telecom, Unicom (former Netcom).
2: the method of modifying HOSTS file
If we want to bind a domain name to an IP, we can modify the HOSTS file: "start-> search", and then look for a file called hosts. Or the path is c: windows system32 drivers etc. Open it with notepad and add the IP and domain name to be resolved below. (modifying HOSTS files is used when there is no way to do so.)
Little knowledge: every windows system has a HOSTS file, its function is to speed up domain name resolution, facilitate local area network users, block websites, smoothly connect the system and other functions.
3: the method of clearing DNS cache information
"start-> run-> enter CMD", in ipconfig/? There is a parameter called / flushdns, which is the command to clear the DNS cache information and execute the ipconfig/flushdns command. When prompted by "successfullyflushedthednsresolvercache", it indicates that the current computer's cache information has been successfully cleared. All subsequent DNS caches will be reloaded.
Little knowledge: DNS resolution is to resolve your domain name to an ip address, and the dns resolution provided by the service provider is the server host that can resolve your domain name to the corresponding ip address. This is DNS domain name resolution.
This is the end of DNS domain name resolution. Although the problem has not been solved, I have learned a lot about DNS and specially shared it. If anyone encounters such a problem in the future (it is best not to encounter it), it is best to solve it smoothly.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.