更改默认的域名系统 (DNS) 域名和搜索列表。 此命令会覆盖 nslookup set domain 命令的默认 DNS 域名和搜索列表。
Syntax
set srchlist=<domainname>[/...]
Parameters
Parameter | Description |
---|---|
<domainname> |
为默认 DNS 域和搜索列表指定新名称。 默认域名值基于主机名。 你最多可以指定六个名称,以斜杠 (/) 分隔。 |
/? | 在命令提示符下显示帮助。 |
/help | 在命令提示符下显示帮助。 |
Remarks
- 使用 nslookup set all 命令显示列表。
Examples
To set the DNS domain to mfg.widgets.com and the search list to the three names:
set srchlist=mfg.widgets.com/mrp2.widgets.com/widgets.com