如果是思科的Packet Tracer,直接在服务器上配置--DNS--输入IP和域名新增即可。如果是命令行,服务器段配置:switch(config)#ip domain-nane cisco.comswitch(config)#ip name-server 10.1.1.209 10.1.1.210switch(config)#ip domain-lookup客户端:(config)#ip name-server 10.1.1.209