ip name-server - Cisco Community
community.cisco.com › t5 › switchingFeb 08, 2009 · This is to tell the device ( be it a switch or router ) the IP address of the name server you want to use for DNS lookups. Have you noticed when you mis type a command it says :-Translating ...domain server (255.255.255.255). If you specify a name server with that command, it will look up that entry in the name server you specified.
IP Addressing: DNS Configuration Guide, Cisco IOS Release 15M ...
www.cisco.com › c › enJan 25, 2018 · IP DNS-based hostname-to-address translation is enabled ip domain lookup ! Specifies hosts 192.168.1.111 and 192.168.1.2 as name servers ip name-server 192.168.1.111 192.168.1.2 ! Defines cisco.com as the default domain name the device uses to complete ! Set the name for unqualified hostnames ip domain name cisco.com Example: Customizing DNS