解析主机名
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)#




相关文章:

  • 2021-09-18
  • 2022-12-23
  • 2021-05-28
  • 2021-06-28
  • 2021-11-01
  • 2022-02-05
  • 2021-08-07
  • 2021-09-24
猜你喜欢
  • 2021-10-31
  • 2021-11-14
  • 2021-06-25
  • 2022-02-26
  • 2021-09-21
相关资源
相似解决方案