014 DNS

时间:2016-12-09 18:52:52   收藏:0   阅读:221
解析主机名
Router>en
Password:
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip host r1
Router(config)#ip host r1 10.2.2.2
Router(config)#ip host ap 10.1.1.2
Router(config)#do show hosts
Default Domain is not set
Name/address lookup uses domain service
Name servers are 255.255.255.255
Codes: UN - unknown, EX - expired, OK - OK, ?? - revalidate
       temp - temporary, perm - permanent
       NA - Not Applicable None - Not defined
Host                      Port  Flags      Age Type   Address(es)
ap                        None  (perm, OK)  0   IP    10.1.1.2
r1                        None  (perm, OK)  0   IP    10.2.2.2
Router(config)#
 
DNS解析
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip domain-lookup
Router(config)#ip name-server 192.168.0.70
Router(config)#ip domain-name lammle.com
Router(config)#


来自为知笔记(Wiz)


原文:http://www.cnblogs.com/sanyuanempire/p/6150396.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!