summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dns/dynamic-service-host-name-server.xml.i
blob: 9dd14f97cdf7a80a72542e9635f03a48b4b1dddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!-- include start from dns/dynamic-service-host-name-server.xml.i -->
<leafNode name="host-name">
  <properties>
    <help>Hostname to register with Dynamic DNS service</help>
    <constraint>
        #include <include/constraint/host-name.xml.i>
        <regex>(\@|\*)[-.A-Za-z0-9]*</regex>
    </constraint>
    <constraintErrorMessage>Host-name must be alphanumeric, can contain hyphens and can be prefixed with '@' or '*'</constraintErrorMessage>
    <multi/>
  </properties>
</leafNode>
<leafNode name="server">
  <properties>
    <help>Remote Dynamic DNS server to send updates to</help>
    <valueHelp>
      <format>ipv4</format>
      <description>IPv4 address of the remote server</description>
    </valueHelp>
    <valueHelp>
      <format>ipv6</format>
      <description>IPv6 address of the remote server</description>
    </valueHelp>
    <valueHelp>
      <format>hostname</format>
      <description>Fully qualified domain name of the remote server</description>
    </valueHelp>
    <constraint>
      <validator name="ip-address"/>
      <validator name="fqdn"/>
    </constraint>
    <constraintErrorMessage>Remote server must be IP address or fully qualified domain name</constraintErrorMessage>
  </properties>
</leafNode>
<!-- include end -->