# ip domain-lookup

#### Syntax

[ no ] ip domain-lookup [ transit-virtual-router vrName ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Without the transit-virtual-router option, enables the router to query the configured DNS name servers when it needs an IP hostname–to–IP address translation. With the transit-virtual-router option, configures a virtual router to use the name servers you configured for another virtual router. The no version without the transit-virtual-router option restores the default situation, in which the router does not query the DNS server. The no version with the transit-virtual-router option stops a virtual router from using the same name servers you configured for another virtual router.

#### Options

- vrName—Name of the virtual router that has the DNS configuration you want to use for a second virtual router

#### Mode

Global Configuration