3
Linux常用命令-107:nslookup
source link: https://xugaoxiang.com/2022/09/27/linux-cmds-107-nslookup/
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.
nslookup
命令主要用来查询域名的 DNS
信息。它有两种工作模式:交互模式和非交互模式。直接输入 nslookup
即进入交互模式,提示符是 >
。
语法格式:nslookup [参数] [域名]
常用参数:
# 非交互模式下查询
nslookup baidu.com
# 交互模式下查询
nslookup
# set type=a 查询A记录,exit 可退出交互模式
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK