In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the usage of the Linux basic command dig". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the usage of the basic Linux command dig.
Dig
Dig is a DNS query tool, and most administrators use the dig command to solve DNS problems.
The scope of application of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1. Grammar
Dig [options]
2. Parameter list
Option
Description
@ server
Specify server address
-b host
Specify which host to query
-f file
Query from the specified file
-p port
Specify the port to use
-t type
Specify the type of DNS to query, such as A\ MX\ PRT
-x ip
Specify DNS if you want to query, enter ip to get the domain name
-4
Use ipv4
-6
Use ipv6
3. Examples
1) query domain name information
[root@localhost ~] # dig www.baidu.com
; DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 www.baidu.com
;; global options: + cmd
;; Got answer:
;;-> > HEADERHEADER
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.