1 #################################################################
2 # In order to enable dynamic dns you need at least one section, and in that
3 # seciton the "enabled" option must be set to one
5 # Each section represents an update to a different service
7 # You specify your domain name, your username and your password with the optins
8 # "domain", "username" and "password" respectively
10 # Next you need to specify the name of the service you are connecting to "eg.
11 # dyndns". The list of the available dns services is specified in the
12 # /usr/lib/ddns/services file.
14 # We also need to specify the source of the ip address to associate with your
15 # domain. The "ip_source" option can be "network", "interface" or "web", with
16 # "network" as the default.
18 # If "ip_source" is "network" you specify a network section in your
19 # /etc/network config file (e.g. "wan", which is the default) with the
20 # "ip_network" option. If you specify "wan", you will update with whatever the
23 # If "ip_source" is "interface" you specify a hardware interface (e.g. "eth1")
24 # and whatever the current ip of this interface is will be associated with the
25 # domain when an update is performed.
27 # If "ip_source" is "script" you specify a script to obtain ip address. The
28 # "ip_script" option should contain path to your script.
30 # The last possibility is that "ip_source" is "web", which means that in order
31 # to obtain our ip address we will connect to a website, and the first valid ip
32 # address listed on that page will be assumed to be ours. If you are behind
33 # another firewall this is the best option since none of the local networks or
34 # interfaces will have the external ip. The website to connect to is specified
35 # by the "ip_url" option.
37 # Finally we need to specify how often to check whether we need to check
38 # whether the ip address has changed (and if so update it), this is only valid
39 # for the "web" method. Use the "check_interval" to specify how often to check
40 # whether an update is necessary. Specify the units for this value with the
41 # "check_unit" option. Units can be "days", "hours", "minutes" or "seconds".
42 # The default check_interval is 600 seconds, or ten minutes.
44 # For yaddns all ip_* options are system-wide and are taken from the first
47 #########################################################
49 config service "myddns"
52 option service_name "dyndns"
53 option domain "mypersonaldomain.dyndns.org"
54 option username "myusername"
55 option password "mypassword"
57 #option ip_source "network"
58 #option ip_network "wan"
60 #option ip_source "interface"
61 #option ip_interface "eth0.1"
63 option ip_source "web"
64 option ip_url "http://checkip.dyndns.org"
65 option check_interval "10"
66 option check_unit "minutes"