Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure a list of domains to search (in the case where you want to configure access to multiple DNS servers for redundancy, and/or to resolve hosts that the previous server could not).



List of domain servers to search. The list can contain up to six domain names, separated by a space, with a total of up to 256 characters.

For example to search, and if it fails to resolve the host,, and if fails to resolve the host,, you would configure the following domain list at the domain-search hierarchy level:

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.