branch Attitude Adjustment packages
[12.09/packages.git] / net / yaddns / files / etc / config / ddns
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
4
5 # Each section represents an update to a different service
6 #
7 # You specify your domain name, your username and your password with the optins
8 # "domain", "username" and "password" respectively
9 #
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.
13 #
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.  
17 #
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
21 # ip for your wan is.
22
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.
26 #
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.
29 #
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.
36 #
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.
43 #
44 # For yaddns all ip_* options are system-wide and are taken from the first
45 # enabled section.
46 #
47 #########################################################
48
49 config service "myddns"
50         option enabled          "0"
51
52         option service_name     "dyndns"
53         option domain           "mypersonaldomain.dyndns.org"
54         option username         "myusername"
55         option password         "mypassword"
56
57         #option ip_source       "network" 
58         #option ip_network      "wan"
59
60         #option ip_source       "interface"
61         #option ip_interface    "eth0.1"
62
63         option ip_source        "web"
64         option ip_url           "http://checkip.dyndns.org"
65         option check_interval   "10"
66         option check_unit       "minutes"
67