Nslookup to check whether the Changed dns record takes effect

Source: Internet
Author: User
Tags nameserver nslookup nslookup command

Check whether the dns server change takes effect.
First, let's take a look at the domain name resolution sequence priority:
 
 
1. Local DNS Cache
2. Local Hosts file
3. DNS Server
 
 
View the local DNS Cache: ipconfig/displaydns
 
 
Clear local DNS Cache: ipconfig/flushdns
 
 
Hosts file location: C: \ WINDOWS \ system32 \ drivers \ etc
 
 
 
 
Run the nslookup command to check whether the DNS change takes effect.
 
 
 
 
Under DOS (Start Menu-run), enter nslookup
 
 
C: \ Users \ Administrator> nslookup
Default Server: google-public-dns-a.google.com
Address: 8.8.8.8
 
 
> Set type = ns
> Baidu.com
Google-public-dns-a.google.com Server
Address: 8.8.8.8
 
 
Non-authoritative response:
Baidu.com nameserver = ns4.baidu.com
Baidu.com nameserver = dns.baidu.com
Baidu.com nameserver = ns3.baidu.com
Baidu.com nameserver = ns2.baidu.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.