[Contents] [Prev] [Next] [Index] [Report an Error]

Assigning Name Servers

To assign name servers to the system:

  1. Access the virtual router context.
  2. Define static routes to the gateways that provide access to the name servers.
  3. Enable the virtual router to query name servers.
  4. Specify a default domain name for the hosts.
  5. Specify the name servers.

    Example

    host1(config)#virtual-router boston
    host1:boston(config)#ip route 0.0.0.0 0.0.0.0 gatewayIpAddress
    host1:boston(config)#ip domain-lookup
    host1:boston(config)#ip domain-name urlofinterest.com
    host1:boston(config)#ip name-server 10.2.0.3
    host1:boston(config)#ip name-server 10.2.5.5

ip domain-lookup

ip domain-name

ip name-server


[Contents] [Prev] [Next] [Index] [Report an Error]