Home > Article > Operation and Maintenance > How to use the nslookup command
How to use the nslookup command: 1. [nslookup www.baidu.com] Query the IP address corresponding to the domain name; 2. [nslookup -qt=ns www.baidu.com] Query which DNS the domain name is using server.
How to use the nslookup command:
1. Open the "Start" menu, select "Run", and enter " CMD".
#2. Open the cmd terminal program.
3. "nslookup /?" nslookup command help.
4. "nslookup www.baidu.com", query the IP address corresponding to the domain name.
5. "nslookup -qt=ns www.baidu.com" queries which DNS server the domain name is using.
6. "nslookup -qt=cname www.baidu.com" View the alias record (cname record) of the domain name.
Related learning recommendations: linux video tutorial
The above is the detailed content of How to use the nslookup command. For more information, please follow other related articles on the PHP Chinese website!