3
Linux常用命令-108:dig
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.
dig
命令的作用与 nslookup
基本相同,相比 nslookup
,它更好用、更灵活,会打印出 DNS
服务器的回应。
语法格式: dig [参数] [IP]
常用参数:
dig baidu.com
# 用上面查询到的 dns 地址进行反向解析
dig -x 110.242.68.66
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK