summaryrefslogtreecommitdiff
path: root/interface-definitions/system_domain-search.xml.in
blob: eb6c8a85c43cf4c5b3d3aca476caa9f6ef54f0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="system">
    <children>
      <leafNode name="domain-search" owner="${vyos_conf_scripts_dir}/system_host-name.py">
        <properties>
          <help>Domain Name Server (DNS) domain completion order</help>
          <priority>400</priority>
          <constraint>
            <validator name="fqdn"/>
          </constraint>
          <constraintErrorMessage>Invalid domain name (RFC 1123 section 2).\nMay only contain letters, numbers and period.</constraintErrorMessage>
          <multi/>
        </properties>
      </leafNode>
    </children>
  </node>
</interfaceDefinition>