domain-search
Syntax
domain-search [domain-list ];
Hierarchy Level
[edit system], [edit system services dhcp], [edit system services dhcp], [edit system services dhcp pool], [edit system services dhcp static-binding]
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:
[edit system] set domain-search [domain1.net domain2.net domain3.net]
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.