Configuration Guide Vol. 1


13.2.3 Configuring DNS

<Structure of this section>

(1) Configuring DNS Resolvers

Points to note

The example below shows how to set the domain name to be used by the DNS resolver, and the name server that the DNS resolver looks up. Because the DNS resolver functionality is enabled by default, it works as soon as the name server has been set.

Command examples

  1. (config)# ip domain name router.example.com

    Set the domain name as router.example.com.

  2. (config)# ip name-server 192.168.0.1

    Set the name server as 192.168.0.1.

(2) Disabling DNS Resolver Function

Points to note

Disable the DNS resolver functionality.

Command examples

  1. (config)# no ip domain lookup

    Disable the DNS resolver functionality.