summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib/uci/schema/default/ddns
blob: 2c7060b8ed427a452b887546c4ab14d27f665e55 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
package ddns

config section
	option name	'service'
	option title	'DynDNS service entry'
	option package	'ddns'
	option named	true
	option required	true

config variable
	option name	'enabled'
	option title	'Enable this service entry'
	option section	'ddns.service'
	option datatype	'boolean'

config variable
	option name	'service_name'
	option title	'Name of the DynDNS provider'
	option section	'ddns.service'
	option datatype	'string'

config variable
	option name	'domain'
	option title	'Own DynDNS domain'
	option section	'ddns.service'
	option required	true

config variable
	option name	'username'
	option title	'Account username'
	option section	'ddns.service'
	option required	true

config variable
	option name	'password'
	option title	'Account password'
	option section	'ddns.service'
	option required	true

config variable
	option name	'ip_source'
	option title	'Method to determine current IP address'
	option section	'ddns.service'
	option type		'enum'
	option required	true

config enum
	option variable	'ddns.service.ip_source'
	option value	'network'
	option title	'Read ip address from /etc/config/network'

config enum
	option variable	'ddns.service.ip_source'
	option value	'interface'
	option title	'Determine ip address from given hardware interface'

config enum
	option variable	'ddns.service.ip_source'
	option value	'web'
	option title	'Determine own IP using a remote web page'

config variable
	option name	'ip_network'
	option title	'Configured network to use IP from'
	option section	'ddns.service'
	option depends	'ip_source=network'
	option valueof	'network.interface'

config variable
	option name	'ip_interface'
	option title	'Physical network interface to read IP from'
	option section	'ddns.service'
	option depends	'ip_source=interface'

config variable
	option name	'ip_url'
	option title	'Web page used to determine IP address'
	option section	'ddns.service'
	option depends	'ip_source=web'

config variable
	option name	'update_url'
	option title	'URL format to use for updating DNS information (for yet-unknown providers)'
	option section	'ddns.service'

config variable
	option name	'check_interval'
	option title	'Update check interval'
	option section	'ddns.service'
	option datatype	'integer'
	option required	true

config variable
	option name	'check_unit'
	option title	'Unit for update check interval'
	option section	'ddns.service'
	option type	'enum'
	option required	true

config enum
	option	variable	'ddns.service.check_unit'
	option	value	'seconds'

config enum
	option	variable	'ddns.service.check_unit'
	option	value	'minutes'

config enum
	option	variable	'ddns.service.check_unit'
	option	value	'hours'

config enum
	option	variable	'ddns.service.check_unit'
	option	value	'days'

config variable
	option name	'force_interval'
	option title	'Forced update interval'
	option section	'ddns.service'
	option datatype	'integer'
	option required	true

config variable
	option name	'force_unit'
	option title	'Unit of forced update interval'
	option section	'ddns.service'
	option type	'enum'
	option required	true

config enum
	option	variable	'ddns.service.force_unit'
	option	value	'seconds'

config enum
	option	variable	'ddns.service.force_unit'
	option	value	'minutes'

config enum
	option	variable	'ddns.service.force_unit'
	option	value	'hours'

config enum
	option	variable	'ddns.service.force_unit'
	option	value	'days'