3

Linux常用命令-107:nslookup

 1 year ago
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.
neoserver,ios ssh client

nslookup 命令主要用来查询域名的 DNS 信息。它有两种工作模式:交互模式和非交互模式。直接输入 nslookup 即进入交互模式,提示符是 >

语法格式:nslookup [参数] [域名]

常用参数:

77eb3a0bafcad8c2.png
# 非交互模式下查询
nslookup baidu.com
7a0f2a08275c23e7.png
# 交互模式下查询
nslookup

# set type=a 查询A记录,exit 可退出交互模式
4146864936884a19.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK