Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

system domain-search domain <domain>

Defines a set of domains for domain completion.

set system domain-search domain domain
delete system domain-search domain domain
show system domain-search domain
domain
Mandatory. Multi-node. A domain name to be added to or deleted from the list of domains in the search order string. The format of the name is a character string that contains letters, numbers, hyphens (-), and one period; for example, brocade.com. A domain name can have a maximum of 253 characters.

You can specify up to six domains by creating up to six domain-search multi-nodes.

Configuration mode


system {
    domain-search {
        domain domain
    }
}

Use this command to list up to 6 domains to be searched in DNS lookup requests.

When the system receives an unqualified host name, it attempts to form a Fully Qualified Domain Name (FQDN) by appending the domains in this list to the host name. The system tries each domain name in turn, in the order in which they were configured. If none of the resulting FQDNs succeeds, the name is not resolved and an error is reported.

Note that both the system domain-name and system domain-search domain commands cannot be configured simultaneously; they are mutually exclusive.

Use the set form of this command to add a domain name to the search list. Note that you cannot use set to change a domain name in the list. To replace an incorrect domain name, delete and replace it with a new name.

Use the delete form of this command to remove a name from a list of domain names.

Use the show form of this command to view a list of domain names.