How to IP domain lookup Resolving Host names on CISCO Routers and Switch #WESTECH_iT

136 Views
Published
This Video Show how you can configure your router to use Domain Name Service (DNS) to resolve hostnames. In fact, Cisco routers have DNS name resolution enabled by default. However, since there is no default nameserver, the router will attempt to use the local broadcast address, 255.255.255.255, until you explicitly configure a proper nameserver. This
means that the IP domain-lookup configuration command
in the example is necessary only if someone has explicitly disabled DNS on the router.



Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ip domain-lookup
Router1(config)#ip domain-name westechit.com
Router1(config)#ip name-server 172.25.1.1
Router1(config)#ip name-server 10.1.20.5
Router1(config)#end
Router1#

Category
Routers and Switches
Be the first to comment