Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

domain-search

Syntax

Hierarchy Level

Description

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).

Options

domain-list

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 domain1.net, and if it fails to resolve the host, domain2.net, and if fails to resolve the host, domain3.net, you would configure the following domain list at the domain-search hierarchy level:

Note:

In gNMI, the user cannot delete individual domain lists. The entire domain search command, including all the configured domain lists, must be deleted.

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.