Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Interpretation of commonly used commands in dig

2025-03-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

@: specify the domain name server for domain name resolution

Example: dig @ 1.2.4.8 www.baidu.com

-b: when the host has more than one IP address, specify which local IP address to use to send the domain name query request to the domain name server

-f: specifies that dig runs in batches, and the specified file holds information about DNS tasks that require batch processing of queries.

-P: specify the port number used by the domain name server

-t: specifies the DNS data type to query

-x: perform reverse domain name query

-4: use IPv4

-6: use IPv6

-h: displays instruction help information.

Example:

C:\ Users\ FFHK > dig @ 1.2.4.8 www.baidu.com

; DiG 9.15.3 @ 1.2.4.8 www.baidu.com

; (1 server found)

;; global options: + cmd

;; Got answer:

;;-> > HEADER

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.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report