...
Line 1 shows setting the host-name to “R1”.
Domain
The name of the DANOS vRouter is set by using the system host-name command. A system name can include letters, numbers, and hyphens (-).
The system domain-name
and system domain-search
commands are mutually exclusive. Only one of the two commands can be configured at any one time.
...
The following example shows how to direct the system to attempt domain completion in the following order: first, mydomain.com; second, mydomain.net; and last mydomain.org.
Code Block | ||
---|---|---|
| ||
vyatta@R1# set system domain-search domain mydomain.com vyatta@R1# set system domain-search domain mydomain.net vyatta@R1# set system domain-search domain mydomain.org vyatta@R1# compare [edit system] +domain-search { + domain mydomain.com + domain mydomain.net + domain mydomain.org +} vyatta@R1# commit comment "setting DNS domain-search" vyatta@R1# exit |
...