Using 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.
Example To configure the virtual router boston to use the same name servers as the default
router, enter the following commands.
host1(config)#virtual router boston
host1:boston(config)#ip domain-lookup transit-virtual-router default
ip domain-lookup
â– Use to configure a virtual router to use the name servers you configured for
another virtual router.
â– Example
host1:boston(config)#ip domain-lookup transit-virtual-router default
â– Use the no version to stop a virtual router from using the same name servers
you configured for another virtual router.
â– See ip domain-lookup.
Monitoring DNS
After you configure DNS, you can use the show ip domain-lookup command to
view information about the name servers.
show ip domain-lookup
â– Use to display the name servers that you have specified on the system with the
ip name-server command.
â– Field descriptions
■Bind to client—Name of the virtual router context in parentheses, followed
by the name of the virtual router providing the name resolver
■Using following Domain Name Servers—Name servers you assigned
■Using following Local Domain Names—Default domain names you specified
322 â– Configuring DNS
JUNOSe 11.1.x System Basics Configuration Guide