#
# Please read https://openwrt.org/docs/guide-user/base-system/ddns
#
config ddns "global"
	option ddns_dateformat "%F %R"
#	option ddns_rundir "/var/run/ddns"
#	option ddns_logdir "/var/log/ddns"
	option ddns_loglines "250"
	option upd_privateip "0"
	option use_curl "1"

config service 'myddns_ipv4'
	option enabled '1'
	option use_ipv6 '0'
	option service_name 'no-ip.com'
	option lookup_host 'iopsys_test.ddns.net'
	option domain 'iopsys_test.ddns.net'
	option username 'iopsys'
	option password 'iopsys'
	option ip_source 'web'
	option interface 'wan'
	option use_syslog '2'
	option check_interval '15'
	option check_unit 'minutes'
	option force_interval '64'
	option force_unit 'minutes'
	option retry_count '5'
	option retry_interval '60'
	option retry_unit 'seconds'

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"

