I often ask if domain name resolution does not take effect immediately. Why is it still the original one? The answer is that there is a resolution cache in the local DNS. After the computer first accesses it, it will be cached within a certain period of time.
When accessing this domain name, the computer can directly know the IP address by searching for the local DNS cache, instead of performing domain name resolution, which improves the efficiency. This is the DNS cache, after the domain name is changed
However, the DNS server has been updated, but the local DNS Cache still exists, resulting in an old IP address. You can solve this problem using the following method:
Method 1:
First, enter the command prompt (start -- run -- cmd );
Run the command ipconfig/displaydns to check the DNS information cached on the local machine, and then enter the following command
Ipconfig/flushdns
At this time, the DNS Cache Information of the local machine has been cleared. We can enter the command for the first time to see it,
Ipconfig/displaydns
Method 2:
Enable the NIC directly.
Learn how to view domain name NS resolution and find a simple command to solve it. Of course, first of all
Make sure that your network is normal.
Procedure:
Start -- run, Enter cmd, and then type the following command, as shown in figure
NSLookup-q = NS Baidu.com
Or
NSLookup-Qt = NS Baidu.com
Note: Enter the root domain name instead of the second-level domain name for the domain name.
The following shows how to view Baidu's domain name DNS information:
Baidu.com nameserver =
Ns3.baidu.com
Baidu.com nameserver = ns2.baidu.com
Baidu.com nameserver = ns4.baidu.com
Posted onSitu zhengmei reading (...) Comment (...) EDIT favorites