Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    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]

    Required Privilege Level

    system—To view this statement in the configuration.

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

    Modified: 2017-10-20