3

Linux常用命令-108:dig

 1 year ago
source link: https://xugaoxiang.com/2022/09/27/linux-cmds-108-dig/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

dig 命令的作用与 nslookup 基本相同,相比 nslookup,它更好用、更灵活,会打印出 DNS 服务器的回应。

语法格式: dig [参数] [IP]

常用参数:

db03a0cbaa91c907.png
dig baidu.com
0e5de5c4fc8fad6f.png
# 用上面查询到的 dns 地址进行反向解析
dig -x 110.242.68.66
f289efc6fe2ee852.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK