In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux nslookup command domain name query, I hope you will learn a lot after reading this article, let's discuss it together!
The English full name of the nslookup command is "query Internet name server interactively". The nslookup command is mainly used to query DNS information of a domain name. Before using nslookup, make sure that it is installed and that nslookup belongs to the next command in the bind-utils package.
Nslookup has two working modes: "interactive mode" and "non-interactive mode". Enter nslookup directly on the command line, enter interactive mode without entering any parameters, and be prompted by ">".
Syntax format: nslookup [parameters] [domain name]
Common parameters:
-sil does not display any warning message exit exit command server specify server address for domain name resolution set type=soa setting query domain name authorization initiation information set type=a setting query domain name A record set type=mx setting query domain name mail exchange record
Reference example:
Query the basic information of domain name in non-interactive mode:
[root@linuxcool ~] # nslookup linuxcool.comServer: 180.76.76.76Address: 180.76.76.76#53Non-authoritative answer:Name: linuxcool.comAddress: 216.218.186.2Name: linuxcool.comAddress: 2001 Vol 470 180.76.76.76Address 0R 76 Vol 2
Query domain name information in interactive mode:
[root@linuxcool ~] # nslookup > linuxcool.comServer: 180.76.76.76Address: 180.76.76.76mm 53 Non-authoritative answer:Name: linuxcool.comAddress: 216.218.186.2Name: linuxcool.comAddress: 2001VOUL 470VOV 0PUBG 76VIE2 >
Use the "set" option to set the domain name query type in interactive mode:
[root@linuxcool ~] # nslookup > set type=mx > linuxcool.comServer: 180.76.76.76Address: 180.76.76.76mm 53 Non-authoritative answer:linuxcool.com mail exchanger = 1 linuxcool.com.Authoritative answers can be found from:linuxcool.com internet address = 216.218.186.2linuxcool.com has AAAA address 2001, 470, 0770, 076, 2having read this article, I believe you have a certain understanding of the nslookup command domain name query using linux, and would like to know more about it. Welcome to follow the industry information channel, thank you for reading!
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.