To configure a Cisco router to resolve hostnames by using DNS a domain name and at least one name server need to be specified.
DNS configuration example:
Router#configure terminal
Router(config)#ip domain-lookup
Router(config)#ip domain-name cisco-faq.com
Router(config)#ip name-server
Router(config)#ip name-server
To disable DNS host lookup:
Router#configure terminal
Router(config)#no ip domain-lookup
|