In actual application, DNS resolution errors may occur, that is, when we access a domain name, it cannot be resolved to an IP address, however, you can directly enter the website IP address for normal access, which is caused by a DNS resolution failure. This phenomenon has a high probability of occurrence, so this article will teach you some basic troubleshooting methods from scratch.
1. What is a DNS resolution fault?
Generally, the addresses www.sina.com and www.it168.com we access are called domain names, and all hosts on the network are identified by IP addresses, that is to say, only the IP address of the website can be accessed successfully.
However, because the IP address information is not easy to remember, the domain name is displayed on the network. During access, we need to enter this domain name that is easy to remember, there will be a server in the network that automatically resolves the corresponding domain name to an IP address. This is the DNS server. The machine that can implement DNS resolution can be either its own computer or a computer in the network. However, when DNS resolution fails, for example, resolving a domain name into an incorrect IP address, or, if we do not know the IP address corresponding to a domain name, we cannot access the site through the domain name. This is a DNS resolution failure.
The biggest symptom of a DNS resolution failure is that the IP address corresponding to the website is correct, but an error occurs when accessing the domain name.
Ii. How to Solve DNS resolution faults:
When a DNS resolution fault occurs on our computer, don't worry. The solution is also simple.
1) Use nslookup to determine whether a DNS resolution fault is true:
To fully determine whether a DNS resolution fault exists, you must use the NSLOOKUP provided by the system.
Step 1: confirm that your system is windows 2000 or above, and then press Start> RUN> Enter CMD to enter the command line mode. 1)
Step 2: Enter the nslookup command and press enter to go To the DNS resolution query page. 2)
Step 3: the command line window displays the DNS server address used by the current system. For example, the IP address of the author's DNS server is 202.106.0.20. 3)
Step 4: Enter the domain name of the site you cannot access. For example, if I enter www.softer.com and cannot access it, DNS resolution may fail. We will receive a prompt message for DNS request timed out and timeout was 2 seconds. This shows that our computer does have a DNS resolution fault. 4)
TIPS: If the DNS resolution is normal, the correct IP address will be returned. For example, if I use the address www.sohu.com for query resolution, I will get the name: sohu.com, addresses: 61.135.133.103, 61.135.133.104 information. 5)
2) check whether the DNS server is working properly:
In this case, we need to check the DNS address used by our computer and its running status.
Step 1: confirm that your system is windows 2000 or above, and then press Start> RUN> Enter CMD to enter the command line mode.
Step 2: Enter the ipconfig/all command to query network parameters. 6)
Step 3: In the ipconfig/all display information, we can see a place where dns servers is written. This is the address of our DNS server. For example, the author is 202.106.0.20 and 202.106.46.151. It can be seen from this address that it is an Internet address. If an Internet DNS resolution error occurs, we can change the address of another DNS server to solve the problem.
Step 4: If the DNS server displays the internal network address of your company, it means that your company's DNS resolution work is handed over to the internal DNS server, in this case, we need to check the DNS server and perform the nslookup operation on the DNS server to check whether the resolution can be normal. The DNS service fault on the DNS server can be solved in general.