summaryrefslogtreecommitdiffstats
path: root/net/ddns-scripts/files/ddns.config
blob: 05eda79c4dc7707126db0c945ffd6a209e64cae8 (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
#
# Please read http://wiki.openwrt.org/doc/uci/ddns
#
config ddns "global"
	option date_format "%F %R"
#	option run_dir "/var/run/ddns"
#	option log_dir "/var/log/ddns"
	option log_lines "250"
	option allow_local_ip "0"


config service "myddns_ipv4"
	option service_name	"dyndns.com"
	option lookup_host	"yourhost.example.com"
	option domain		"yourhost.example.com"
	option username		"your_username"
	option password		"your_password"
	option interface	"wan"
	option ip_source	"network"
	option ip_network	"wan"

config service "myddns_ipv6"
	option update_url	"http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]"
	option lookup_host	"yourhost.example.com"
	option domain		"yourhost.example.com"
	option username		"your_username"
	option password		"your_password"
	option use_ipv6		"1"
	option interface	"wan6"
	option ip_source	"network"
	option ip_network	"wan6"