In order to configure DNS Server on Cisco Router follow below steps
i) Enable DNS Service on the Router
Router(config)# ip dns server
ii) Enable Domain lookup on the Router
Router(config)# ip domain-lookup
iii) Configure Host to IP Address Translation on the Router.
Router(config)# ip host cisco.com 192.168.1.1
Router (config)# ip host google.com 192.168.1.2
iv) Configure DNS Server for other entries that are not present on the Router
Router(config)# ip name-server 8.8.8.8
Router (config)# ip name-server 4.2.2.2
i) Enable DNS Service on the Router
Router(config)# ip dns server
ii) Enable Domain lookup on the Router
Router(config)# ip domain-lookup
iii) Configure Host to IP Address Translation on the Router.
Router(config)# ip host cisco.com 192.168.1.1
Router (config)# ip host google.com 192.168.1.2
iv) Configure DNS Server for other entries that are not present on the Router
Router(config)# ip name-server 8.8.8.8
Router (config)# ip name-server 4.2.2.2
0 comments:
Post a Comment