1.1.1 配置
1)添加一个Nameserver到DNS
xNet#configure terminal
xNet(config)#ip name-server 10.204.252.1
xNet(config)#
2)打开Domain Lookup
xNet#configure terminal
xNet(config)#ip domain-lookup
3)添加一个域名到DNS list
xNet#configure terminal
xNet(config)#ip domain-list xnetec.com
1.1.2 结果
1)查看默认域名
xNet#show ip name-server
10.204.252.1
2)查看domain list
xNet#show ip domain-list
xnetec.com
3)查看hosts