Configuring One Name Resolver for Multiple Virtual Routers

You can use one name resolver for multiple virtual routers if those virtual routers use the same name servers and belong to the same local domain. To do so, complete the following steps:

  1. Configure a name resolver for the first virtual router.
  2. Access the context for the second virtual router.
  3. Specify that the second virtual router should use the name resolver you configured for the first virtual router.
  4. Repeat Steps 2 and 3 for other virtual routers that you want to point to this name resolver.

For example, to configure the virtual router boston to use the same name servers as the default router:

  1. Access the virtual router boston.
    host1(config)#virtual router boston
  2. Specify the virtual router boston to use the same name servers as the default router.
    host1:boston(config)#ip domain-lookup transit-virtual-router default

Related Documentation